import { Test, TestingModule } from '@nestjs/testing'; import { ReposResolver } from './repos.resolver'; import { ReposService } from './repos.service'; describe('ReposResolver', () => { let resolver: ReposResolver; beforeEach(async () => { const module: TestingModule = await Test.createTestingModule({ providers: [ ReposResolver, { provide: ReposService, useValue: {}, }, ], }).compile(); resolver = module.get(ReposResolver); }); it('should be defined', () => { expect(resolver).toBeDefined(); }); });