forked from Yara724/api
Initial commit after migration to gitea
This commit is contained in:
20
src/profile/profile.controller.spec.ts
Normal file
20
src/profile/profile.controller.spec.ts
Normal file
@@ -0,0 +1,20 @@
|
||||
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();
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user