From 94071d7ce16c56641d67d488e2bac6be84ffe731 Mon Sep 17 00:00:00 2001 From: 简律纯 Date: Fri, 3 Nov 2023 21:17:06 +0800 Subject: chore: delete useless files --- .../apps/api/src/__tests__/server.test.ts | 22 ---------------------- 1 file changed, 22 deletions(-) delete mode 100644 examples/kitchen-sink/apps/api/src/__tests__/server.test.ts (limited to 'examples/kitchen-sink/apps/api/src/__tests__/server.test.ts') diff --git a/examples/kitchen-sink/apps/api/src/__tests__/server.test.ts b/examples/kitchen-sink/apps/api/src/__tests__/server.test.ts deleted file mode 100644 index c0c9806..0000000 --- a/examples/kitchen-sink/apps/api/src/__tests__/server.test.ts +++ /dev/null @@ -1,22 +0,0 @@ -import supertest from "supertest"; -import { createServer } from "../server"; - -describe("server", () => { - it("health check returns 200", async () => { - await supertest(createServer()) - .get("/healthz") - .expect(200) - .then((res) => { - expect(res.body.ok).toBe(true); - }); - }); - - it("message endpoint says hello", async () => { - await supertest(createServer()) - .get("/message/jared") - .expect(200) - .then((res) => { - expect(res.body).toEqual({ message: "hello jared" }); - }); - }); -}); -- cgit v1.2.3-70-g09d2