ppob-backend/src/configurable/configurable.controller.spec.ts
2021-12-08 11:14:12 +07:00

21 lines
613 B
TypeScript

import { Test, TestingModule } from '@nestjs/testing';
import { ConfigurableController } from './configurable.controller';
import { RoleService } from './roles.service';
describe('ConfigurableController', () => {
let controller: ConfigurableController;
beforeEach(async () => {
const module: TestingModule = await Test.createTestingModule({
controllers: [ConfigurableController],
providers: [RoleService],
}).compile();
controller = module.get<ConfigurableController>(ConfigurableController);
});
it('should be defined', () => {
expect(controller).toBeDefined();
});
});