mirror of
https://github.com/dadosfera/maestro.git
synced 2026-11-26 15:50:05 +00:00
21 lines
668 B
TypeScript
21 lines
668 B
TypeScript
import { Test, TestingModule } from '@nestjs/testing';
|
|
import { RestEnrichmentsController } from './rest-enrichments.controller';
|
|
import { RestEnrichmentsService } from './rest-enrichments.service';
|
|
|
|
describe('RestEnrichmentsController', () => {
|
|
let controller: RestEnrichmentsController;
|
|
|
|
beforeEach(async () => {
|
|
const module: TestingModule = await Test.createTestingModule({
|
|
controllers: [RestEnrichmentsController],
|
|
providers: [RestEnrichmentsService],
|
|
}).compile();
|
|
|
|
controller = module.get<RestEnrichmentsController>(RestEnrichmentsController);
|
|
});
|
|
|
|
it('should be defined', () => {
|
|
expect(controller).toBeDefined();
|
|
});
|
|
});
|