mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-18 17:25:16 -04:00
Add NotesService
Signed-off-by: David Mehren <git@herrmehren.de>
This commit is contained in:
parent
574c7d1dd4
commit
5fcb220346
3 changed files with 60 additions and 0 deletions
18
src/notes/notes.service.spec.ts
Normal file
18
src/notes/notes.service.spec.ts
Normal file
|
@ -0,0 +1,18 @@
|
|||
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();
|
||||
});
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue