1
0
forked from Yara724/api
Files
yara724-api/src/profile/profile.controller.spec.ts

21 lines
586 B
TypeScript

import { Test, TestingModule } from "@nestjs/testing";
import { ProfileController } from "./profile.controller";
import { ProfileService } from "./profile.service";
describe("ProfileController", () => {
let controller: ProfileController;
beforeEach(async () => {
const module: TestingModule = await Test.createTestingModule({
controllers: [ProfileController],
providers: [ProfileService],
}).compile();
controller = module.get<ProfileController>(ProfileController);
});
it("should be defined", () => {
expect(controller).toBeDefined();
});
});