mirror of
https://github.com/apricote/Listory.git
synced 2026-01-13 21:21:02 +00:00
19 lines
500 B
TypeScript
19 lines
500 B
TypeScript
|
|
import { Test, TestingModule } from '@nestjs/testing';
|
||
|
|
import { ReportsController } from './reports.controller';
|
||
|
|
|
||
|
|
describe('Reports Controller', () => {
|
||
|
|
let controller: ReportsController;
|
||
|
|
|
||
|
|
beforeEach(async () => {
|
||
|
|
const module: TestingModule = await Test.createTestingModule({
|
||
|
|
controllers: [ReportsController],
|
||
|
|
}).compile();
|
||
|
|
|
||
|
|
controller = module.get<ReportsController>(ReportsController);
|
||
|
|
});
|
||
|
|
|
||
|
|
it('should be defined', () => {
|
||
|
|
expect(controller).toBeDefined();
|
||
|
|
});
|
||
|
|
});
|