forked from Yara724/api
21 lines
586 B
TypeScript
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();
|
|
});
|
|
});
|