mirror of
https://github.com/dadosfera/maestro.git
synced 2026-10-15 21:39:08 +00:00
21 lines
598 B
TypeScript
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();
|
|
});
|
|
});
|