Fix for generic sql test.

This commit is contained in:
mike12345567 2024-09-04 13:18:54 +01:00
parent fed82dffaf
commit eefb1f01a3
1 changed files with 6 additions and 4 deletions

View File

@ -832,10 +832,12 @@ describe.each(
}, },
}) })
expect(res).toHaveLength(1) expect(res).toHaveLength(1)
expect(res[0]).toEqual({ expect(res[0]).toEqual(
id: 2, expect.objectContaining({
name: "two", id: 2,
}) name: "two",
})
)
}) })
// this parameter really only impacts SQL queries // this parameter really only impacts SQL queries