forked from Yara724/api
YARA-725
This commit is contained in:
@@ -1,22 +0,0 @@
|
||||
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();
|
||||
});
|
||||
});
|
||||
@@ -1,18 +0,0 @@
|
||||
import { Test, TestingModule } from "@nestjs/testing";
|
||||
import { RequestManagementService } from "./request-management.service";
|
||||
|
||||
describe("RequestManagementService", () => {
|
||||
let service: RequestManagementService;
|
||||
|
||||
beforeEach(async () => {
|
||||
const module: TestingModule = await Test.createTestingModule({
|
||||
providers: [RequestManagementService],
|
||||
}).compile();
|
||||
|
||||
service = module.get<RequestManagementService>(RequestManagementService);
|
||||
});
|
||||
|
||||
it("should be defined", () => {
|
||||
expect(service).toBeDefined();
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user