mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-12-02 04:45:08 -05:00
b05022945c
Signed-off-by: David Mehren <git@herrmehren.de>
18 lines
453 B
TypeScript
18 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();
|
|
});
|
|
});
|