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