21 lines
536 B
TypeScript
21 lines
536 B
TypeScript
import { Test, TestingModule } from '@nestjs/testing';
|
|
import { IaController } from './ia.controller';
|
|
import { IaService } from './ia.service';
|
|
|
|
describe('IaController', () => {
|
|
let controller: IaController;
|
|
|
|
beforeEach(async () => {
|
|
const module: TestingModule = await Test.createTestingModule({
|
|
controllers: [IaController],
|
|
providers: [IaService],
|
|
}).compile();
|
|
|
|
controller = module.get<IaController>(IaController);
|
|
});
|
|
|
|
it('should be defined', () => {
|
|
expect(controller).toBeDefined();
|
|
});
|
|
});
|