mirror of
https://github.com/apricote/Listory.git
synced 2026-01-13 13:11:02 +00:00
18 lines
500 B
TypeScript
18 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();
|
|
});
|
|
});
|