forked from Yara724/api
23 lines
701 B
TypeScript
23 lines
701 B
TypeScript
import { Test, TestingModule } from "@nestjs/testing";
|
|
import { RequestManagementController } from "./request-management.controller";
|
|
import { RequestManagementService } from "./request-management.service";
|
|
|
|
describe("RequestManagementController", () => {
|
|
let controller: RequestManagementController;
|
|
|
|
beforeEach(async () => {
|
|
const module: TestingModule = await Test.createTestingModule({
|
|
controllers: [RequestManagementController],
|
|
providers: [RequestManagementService],
|
|
}).compile();
|
|
|
|
controller = module.get<RequestManagementController>(
|
|
RequestManagementController,
|
|
);
|
|
});
|
|
|
|
it("should be defined", () => {
|
|
expect(controller).toBeDefined();
|
|
});
|
|
});
|