mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-10-21 14:42:09 -04:00
19 lines
486 B
TypeScript
19 lines
486 B
TypeScript
|
import { Test, TestingModule } from '@nestjs/testing';
|
||
|
import { NotesController } from './notes.controller';
|
||
|
|
||
|
describe('Notes Controller', () => {
|
||
|
let controller: NotesController;
|
||
|
|
||
|
beforeEach(async () => {
|
||
|
const module: TestingModule = await Test.createTestingModule({
|
||
|
controllers: [NotesController],
|
||
|
}).compile();
|
||
|
|
||
|
controller = module.get<NotesController>(NotesController);
|
||
|
});
|
||
|
|
||
|
it('should be defined', () => {
|
||
|
expect(controller).toBeDefined();
|
||
|
});
|
||
|
});
|