From 409898deb5d11def010d9506af401f0c2b9620da Mon Sep 17 00:00:00 2001 From: w8385 Date: Thu, 11 Apr 2024 05:25:09 +0900 Subject: [PATCH] fix: member.controller.spec.ts --- src/member/member.controller.spec.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/member/member.controller.spec.ts b/src/member/member.controller.spec.ts index 726c0b5..9a3ab1b 100644 --- a/src/member/member.controller.spec.ts +++ b/src/member/member.controller.spec.ts @@ -7,6 +7,7 @@ import { MongoMemoryServer } from 'mongodb-memory-server'; import * as process from 'process'; import { memberProvider } from './member.provider'; import { Member } from './entities/member.entity'; +import { MemberRepository } from './member.repository'; describe('MemberController', () => { let memberController: MemberController; @@ -20,7 +21,7 @@ describe('MemberController', () => { const module: TestingModule = await Test.createTestingModule({ imports: [DatabaseModule], controllers: [MemberController], - providers: [MemberService, ...memberProvider], + providers: [MemberService, ...memberProvider, MemberRepository], }).compile(); memberService = module.get(MemberService);