Skip to content

Commit

Permalink
fix: member.controller.spec.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
w8385 committed Apr 10, 2024
1 parent 61c2bda commit 409898d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/member/member.controller.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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>(MemberService);
Expand Down

0 comments on commit 409898d

Please sign in to comment.