user.resolver.spec.ts
447 Bytes
import { Test, TestingModule } from '@nestjs/testing'
import { UserResolver } from './user.resolver'
describe('UserResolver', () => {
let resolver: UserResolver
beforeEach(async () => {
const module: TestingModule = await Test.createTestingModule({
providers: [UserResolver],
}).compile()
resolver = module.get<UserResolver>(UserResolver)
})
it('should be defined', () => {
expect(resolver).toBeDefined()
})
})