1
0
Fork 0
mirror of synced 2024-10-05 20:44:47 +13:00

Fixing test case.

This commit is contained in:
mike12345567 2024-04-05 17:49:39 +01:00
parent 5f44b98b7f
commit 191c52a9b9

View file

@ -685,7 +685,6 @@ describe("postgres integrations", () => {
expect(res.body).toEqual({ expect(res.body).toEqual({
rows: [], rows: [],
bookmark: null,
hasNextPage: false, hasNextPage: false,
}) })
}) })
@ -710,7 +709,6 @@ describe("postgres integrations", () => {
rows: expect.arrayContaining( rows: expect.arrayContaining(
rows.map(r => expect.objectContaining(r.rowData)) rows.map(r => expect.objectContaining(r.rowData))
), ),
bookmark: null,
hasNextPage: false, hasNextPage: false,
}) })
expect(res.body.rows).toHaveLength(rowsCount) expect(res.body.rows).toHaveLength(rowsCount)
@ -772,7 +770,6 @@ describe("postgres integrations", () => {
expect(res.body).toEqual({ expect(res.body).toEqual({
rows: expect.arrayContaining(rowsToFilter.map(expect.objectContaining)), rows: expect.arrayContaining(rowsToFilter.map(expect.objectContaining)),
bookmark: null,
hasNextPage: false, hasNextPage: false,
}) })
expect(res.body.rows).toHaveLength(4) expect(res.body.rows).toHaveLength(4)