mirror of
https://github.com/docmost/docmost.git
synced 2026-05-14 04:24:04 +08:00
19 lines
492 B
TypeScript
19 lines
492 B
TypeScript
import { Test, TestingModule } from '@nestjs/testing';
|
|
import { SearchController } from './search.controller';
|
|
|
|
describe('SearchController', () => {
|
|
let controller: SearchController;
|
|
|
|
beforeEach(async () => {
|
|
const module: TestingModule = await Test.createTestingModule({
|
|
controllers: [SearchController],
|
|
}).compile();
|
|
|
|
controller = module.get<SearchController>(SearchController);
|
|
});
|
|
|
|
it('should be defined', () => {
|
|
expect(controller).toBeDefined();
|
|
});
|
|
});
|