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; beforeEach(async () => { const module: TestingModule = await Test.createTestingModule({ providers: [ ReposResolver, { provide: ReposService, useValue: {}, }, { provide: ProjectsService, useValue: {}, }, ], }).compile(); resolver = module.get(ReposResolver); }); it('should be defined', () => { expect(resolver).toBeDefined(); }); });