diff --git a/backend/src/auth/auth.service.spec.ts b/backend/src/auth/auth.service.spec.ts index 8069b1dbb..001671fe9 100644 --- a/backend/src/auth/auth.service.spec.ts +++ b/backend/src/auth/auth.service.spec.ts @@ -94,6 +94,8 @@ describe('AuthService', () => { // eslint-disable-next-line @typescript-eslint/ban-ts-comment // @ts-ignore .mockImplementation(() => createQueryBuilder); + + jest.spyOn(authTokenRepo, 'find').mockResolvedValue([authToken]); }); it('should be defined', () => {