We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2ce2b28 commit 4413163Copy full SHA for 4413163
1 file changed
src/backend/tests/users.test.ts
@@ -38,7 +38,10 @@ describe('Users', () => {
38
expect(prisma.user.findMany).toHaveBeenCalledTimes(1);
39
// note that batman was sorted to the front because his first name is before supermans alphabetically
40
// and also that we don't return the google auth id for security reasons
41
- expect(res).toStrictEqual([restOfBatman, restOfSuperman]);
+ expect(res).toStrictEqual([
42
+ { scheduleSettings: undefined, ...restOfBatman },
43
+ { scheduleSettings: undefined, ...restOfSuperman }
44
+ ]);
45
});
46
47
test('getSingleUser', async () => {
0 commit comments