mirror of
https://github.com/dadosfera/maestro.git
synced 2026-11-17 04:59:08 +00:00
implementation of rest comunication on gateway
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
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();
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user