feat: complete TASK-WP0-02 contract baseline

This commit is contained in:
suyx
2026-07-27 17:49:24 +08:00
parent ae20eaf01f
commit dbe3e73b91
28 changed files with 2540 additions and 23 deletions
+1 -1
View File
@@ -20,7 +20,7 @@ describe("TASK-WP0-01 minimum toolchain", () => {
});
it("loads and closes Fastify with the frozen Swagger plugin", async () => {
const app = createApp();
const app = await createApp();
await app.ready();
expect(app.hasPlugin("@fastify/swagger")).toBe(true);
await app.close();