Improve test
This commit is contained in:
parent
b1f9325987
commit
02d6458ac8
|
@ -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
|
|
||||||
])
|
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in New Issue