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