From 1957556b5a0a12c236f93358af5e3d983c1966bc Mon Sep 17 00:00:00 2001 From: Mir Arif Hasan Date: Mon, 11 Dec 2023 16:16:19 +0600 Subject: [PATCH] test: fix test case --- packages/hoppscotch-backend/src/auth/auth.service.spec.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/hoppscotch-backend/src/auth/auth.service.spec.ts b/packages/hoppscotch-backend/src/auth/auth.service.spec.ts index 6815fa399..c8979518b 100644 --- a/packages/hoppscotch-backend/src/auth/auth.service.spec.ts +++ b/packages/hoppscotch-backend/src/auth/auth.service.spec.ts @@ -22,12 +22,14 @@ import { DateTime } from 'luxon'; import * as argon2 from 'argon2'; import * as E from 'fp-ts/Either'; import { ConfigService } from '@nestjs/config'; +import { InfraConfigService } from 'src/infra-config/infra-config.service'; const mockPrisma = mockDeep(); const mockUser = mockDeep(); const mockJWT = mockDeep(); const mockMailer = mockDeep(); const mockConfigService = mockDeep(); +const mockInfraConfigService = mockDeep(); // eslint-disable-next-line @typescript-eslint/ban-ts-comment // @ts-ignore @@ -37,6 +39,7 @@ const authService = new AuthService( mockJWT, mockMailer, mockConfigService, + mockInfraConfigService, ); const currentTime = new Date();