PhiloMind / src /app.controller.spec.ts
github-actions[bot]
Deploy Backend from GitHub Actions Commit: ca37b2a1c9dd5c702619ea7ae7b3260d2fb5663d
b185a6d
Raw
History Blame Contribute Delete
506 Bytes
import { AppController } from "./app.controller";
describe("AppController", () => {
let controller: AppController;
beforeEach(() => {
controller = new AppController();
});
it("returns root health status", () => {
expect(controller.getRootHealth()).toMatchObject({
status: "healthy",
service: "PhiloMind NestJS Backend",
});
});
it("returns service health status", () => {
expect(controller.getHealth()).toMatchObject({
status: "healthy",
});
});
});