mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-12-03 05:59:15 -05:00
19 lines
453 B
TypeScript
19 lines
453 B
TypeScript
|
import { Test, TestingModule } from '@nestjs/testing';
|
||
|
import { NotesService } from './notes.service';
|
||
|
|
||
|
describe('NotesService', () => {
|
||
|
let service: NotesService;
|
||
|
|
||
|
beforeEach(async () => {
|
||
|
const module: TestingModule = await Test.createTestingModule({
|
||
|
providers: [NotesService],
|
||
|
}).compile();
|
||
|
|
||
|
service = module.get<NotesService>(NotesService);
|
||
|
});
|
||
|
|
||
|
it('should be defined', () => {
|
||
|
expect(service).toBeDefined();
|
||
|
});
|
||
|
});
|