hedgedoc/src/api/public/notes/notes.controller.spec.ts

19 lines
486 B
TypeScript
Raw Normal View History

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();
});
});