Files
maestro/src/rest/rest-user/rest-user.controller.spec.ts
T

21 lines
598 B
TypeScript

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