Skip to content

Commit 4413163

Browse files
committed
#2136 - tests run
1 parent 2ce2b28 commit 4413163

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

src/backend/tests/users.test.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,10 @@ describe('Users', () => {
3838
expect(prisma.user.findMany).toHaveBeenCalledTimes(1);
3939
// note that batman was sorted to the front because his first name is before supermans alphabetically
4040
// and also that we don't return the google auth id for security reasons
41-
expect(res).toStrictEqual([restOfBatman, restOfSuperman]);
41+
expect(res).toStrictEqual([
42+
{ scheduleSettings: undefined, ...restOfBatman },
43+
{ scheduleSettings: undefined, ...restOfSuperman }
44+
]);
4245
});
4346

4447
test('getSingleUser', async () => {

0 commit comments

Comments
 (0)