PhiloMind / src /app.controller.spec.ts
github-actions[bot]
Deploy Backend from GitHub Actions Commit: 6a03822ccb7f281162a8b9f9a2c7638b8fe447b9
345d455
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',
});
});
});