nestjs rewrite
This commit is contained in:
18
server/src/gis/gis.controller.spec.ts
Normal file
18
server/src/gis/gis.controller.spec.ts
Normal file
@ -0,0 +1,18 @@
|
||||
import { Test, TestingModule } from '@nestjs/testing';
|
||||
import { GisController } from './gis.controller';
|
||||
|
||||
describe('GisController', () => {
|
||||
let controller: GisController;
|
||||
|
||||
beforeEach(async () => {
|
||||
const module: TestingModule = await Test.createTestingModule({
|
||||
controllers: [GisController],
|
||||
}).compile();
|
||||
|
||||
controller = module.get<GisController>(GisController);
|
||||
});
|
||||
|
||||
it('should be defined', () => {
|
||||
expect(controller).toBeDefined();
|
||||
});
|
||||
});
|
Reference in New Issue
Block a user