mirror of
https://github.com/docmost/docmost.git
synced 2025-11-16 09:41:46 +10:00
19 lines
460 B
TypeScript
19 lines
460 B
TypeScript
import { Test, TestingModule } from '@nestjs/testing';
|
|
import { SearchService } from './search.service';
|
|
|
|
describe('SearchService', () => {
|
|
let service: SearchService;
|
|
|
|
beforeEach(async () => {
|
|
const module: TestingModule = await Test.createTestingModule({
|
|
providers: [SearchService],
|
|
}).compile();
|
|
|
|
service = module.get<SearchService>(SearchService);
|
|
});
|
|
|
|
it('should be defined', () => {
|
|
expect(service).toBeDefined();
|
|
});
|
|
});
|