feat: complete TASK-WP0-03 browser gate

This commit is contained in:
suyx
2026-07-27 18:23:20 +08:00
parent dbe3e73b91
commit 878788b1e2
25 changed files with 3227 additions and 21 deletions
+3 -2
View File
@@ -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();
});
});