From b08c38c0176b18bcb1ca167949ed566bacbf889a Mon Sep 17 00:00:00 2001 From: Steve Reis <stevereis93@gmail.com> Date: Thu, 17 Mar 2022 16:16:04 +0100 Subject: [PATCH] Hotfix auth service test failing --- api/src/auth/auth.service.spec.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api/src/auth/auth.service.spec.ts b/api/src/auth/auth.service.spec.ts index 9122005..4d85bad 100644 --- a/api/src/auth/auth.service.spec.ts +++ b/api/src/auth/auth.service.spec.ts @@ -55,8 +55,8 @@ describe('AuthService', () => { service = module.get<AuthService>(AuthService); }); - it('login', () => { - const data = service.login(user); + it('login', async () => { + const data = await service.login(user); expect(data.accessToken).toBe(jwtToken); }); -- GitLab