This commit is contained in:
MartinBraquet
2026-03-05 19:53:36 +01:00
parent d54f0052df
commit cb8ef458c2

View File

@@ -59,7 +59,7 @@ describe('updateOptions', () => {
const result: any = await updateOptions(mockProps, mockAuth, mockReq)
expect(result.updatedIds).toStrictEqual([mockRow1.id, mockRow2.id])
expect(result.updatedIds).toStrictEqual(true)
expect(mockPg.oneOrNone).toBeCalledTimes(1)
expect(mockPg.oneOrNone).toBeCalledWith(
sqlMatch('SELECT id FROM profiles WHERE user_id = $1'),