fix(test): repos resolver 测试用例不通过的问题。
This commit is contained in:
parent
32102ffefd
commit
ea4ca724e3
@ -1,6 +1,7 @@
|
||||
import { Test, TestingModule } from '@nestjs/testing';
|
||||
import { ReposResolver } from './repos.resolver';
|
||||
import { ReposService } from './repos.service';
|
||||
import { ProjectsService } from '../projects/projects.service';
|
||||
|
||||
describe('ReposResolver', () => {
|
||||
let resolver: ReposResolver;
|
||||
@ -13,6 +14,10 @@ describe('ReposResolver', () => {
|
||||
provide: ReposService,
|
||||
useValue: {},
|
||||
},
|
||||
{
|
||||
provide: ProjectsService,
|
||||
useValue: {},
|
||||
},
|
||||
],
|
||||
}).compile();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user