feat: complete TASK-WP0-01 toolchain skeleton
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
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 () => {
|
||||
const app = createApp();
|
||||
await app.ready();
|
||||
expect(app.printRoutes()).not.toContain("health");
|
||||
await app.close();
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user