Adiciona controller do Ollama e reestrutura arquitetura
This commit is contained in:
18
src/modules/ollama/ollama.controller.spec.ts
Normal file
18
src/modules/ollama/ollama.controller.spec.ts
Normal file
@@ -0,0 +1,18 @@
|
||||
import { Test, TestingModule } from '@nestjs/testing';
|
||||
import { OllamaController } from './ollama.controller';
|
||||
|
||||
describe('OllamaController', () => {
|
||||
let controller: OllamaController;
|
||||
|
||||
beforeEach(async () => {
|
||||
const module: TestingModule = await Test.createTestingModule({
|
||||
controllers: [OllamaController],
|
||||
}).compile();
|
||||
|
||||
controller = module.get<OllamaController>(OllamaController);
|
||||
});
|
||||
|
||||
it('should be defined', () => {
|
||||
expect(controller).toBeDefined();
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user