1
0
Fork 0
mirror of synced 2024-09-20 19:33:10 +12:00

Improve test

This commit is contained in:
Adria Navarro 2024-08-02 11:50:21 +02:00
parent b1f9325987
commit 02d6458ac8

View file

@ -1983,9 +1983,9 @@ describe.each([
await config.api.row.bulkImport(tableId, { await config.api.row.bulkImport(tableId, {
rows, rows,
}) })
// await config.api.row.bulkImport(tableId, { await config.api.row.bulkImport(tableId, {
// rows, rows,
// }) })
const { rows: allRows } = await config.api.row.search(tableId) const { rows: allRows } = await config.api.row.search(tableId)
@ -1998,11 +1998,7 @@ describe.each([
createdAt: new Date().toISOString(), createdAt: new Date().toISOString(),
updatedAt: new Date().toISOString(), updatedAt: new Date().toISOString(),
} }
expect(allRows).toEqual([ expect(allRows).toEqual([expectedRow, expectedRow, expectedRow])
expectedRow,
expectedRow,
// expectedRow
])
}) })
}) })
}) })