gene res 생성 및 next 업데이트
This commit is contained in:
20
backend/src/gene/gene.controller.spec.ts
Normal file
20
backend/src/gene/gene.controller.spec.ts
Normal file
@@ -0,0 +1,20 @@
|
||||
import { Test, TestingModule } from '@nestjs/testing';
|
||||
import { GeneController } from './gene.controller';
|
||||
import { GeneService } from './gene.service';
|
||||
|
||||
describe('GeneController', () => {
|
||||
let controller: GeneController;
|
||||
|
||||
beforeEach(async () => {
|
||||
const module: TestingModule = await Test.createTestingModule({
|
||||
controllers: [GeneController],
|
||||
providers: [GeneService],
|
||||
}).compile();
|
||||
|
||||
controller = module.get<GeneController>(GeneController);
|
||||
});
|
||||
|
||||
it('should be defined', () => {
|
||||
expect(controller).toBeDefined();
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user