mirror of
https://github.com/dadosfera/maestro.git
synced 2026-11-09 08:19:08 +00:00
23 lines
679 B
TypeScript
23 lines
679 B
TypeScript
import { Test, TestingModule } from '@nestjs/testing';
|
|
import { TransformationsController } from './transformations.controller';
|
|
import { TransformationsService } from './transformations.service';
|
|
|
|
describe('TransformationsController', () => {
|
|
let controller: TransformationsController;
|
|
|
|
beforeEach(async () => {
|
|
const module: TestingModule = await Test.createTestingModule({
|
|
controllers: [TransformationsController],
|
|
providers: [TransformationsService],
|
|
}).compile();
|
|
|
|
controller = module.get<TransformationsController>(
|
|
TransformationsController,
|
|
);
|
|
});
|
|
|
|
it('should be defined', () => {
|
|
expect(controller).toBeDefined();
|
|
});
|
|
});
|