19 lines
492 B
TypeScript
19 lines
492 B
TypeScript
import { Test, TestingModule } from '@nestjs/testing';
|
|
import { ConfigController } from './config.controller';
|
|
|
|
describe('ConfigController', () => {
|
|
let controller: ConfigController;
|
|
|
|
beforeEach(async () => {
|
|
const module: TestingModule = await Test.createTestingModule({
|
|
controllers: [ConfigController],
|
|
}).compile();
|
|
|
|
controller = module.get<ConfigController>(ConfigController);
|
|
});
|
|
|
|
it('should be defined', () => {
|
|
expect(controller).toBeDefined();
|
|
});
|
|
});
|