Use expectAutomationId()

This commit is contained in:
Adria Navarro 2024-07-19 11:15:17 +02:00
parent 491266c7ba
commit 67619364b9
1 changed files with 4 additions and 4 deletions

View File

@ -136,19 +136,19 @@ describe("/rowsActions", () => {
name: rowActions[0].name, name: rowActions[0].name,
id: responses[0].id, id: responses[0].id,
tableId, tableId,
automationId: expect.any(String), automationId: expectAutomationId(),
}, },
[responses[1].id]: { [responses[1].id]: {
name: rowActions[1].name, name: rowActions[1].name,
id: responses[1].id, id: responses[1].id,
tableId, tableId,
automationId: expect.any(String), automationId: expectAutomationId(),
}, },
[responses[2].id]: { [responses[2].id]: {
name: rowActions[2].name, name: rowActions[2].name,
id: responses[2].id, id: responses[2].id,
tableId, tableId,
automationId: expect.any(String), automationId: expectAutomationId(),
}, },
}, },
}) })
@ -191,7 +191,7 @@ describe("/rowsActions", () => {
name: rowAction.name, name: rowAction.name,
id: res.id, id: res.id,
tableId: tableId, tableId: tableId,
automationId: expect.any(String), automationId: expectAutomationId(),
}, },
}, },
}) })