feat: complete TASK-WP0-03 browser gate
This commit is contained in:
@@ -3,10 +3,11 @@ import { describe, expect, it } from "vitest";
|
||||
import { createApp } from "../../apps/api/src/app.js";
|
||||
|
||||
describe("Fastify skeleton", () => {
|
||||
it("becomes ready without adding a product route", async () => {
|
||||
it("becomes ready with only the Supervisor health exception", async () => {
|
||||
const app = await createApp();
|
||||
await app.ready();
|
||||
expect(app.printRoutes()).not.toContain("health");
|
||||
expect(app.printRoutes()).toContain("healthz");
|
||||
expect(app.printRoutes()).not.toContain("api/v1/health");
|
||||
await app.close();
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user