Fixing test case.
This commit is contained in:
parent
5f44b98b7f
commit
191c52a9b9
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue