diff options
| author | 2023-11-03 21:17:06 +0800 | |
|---|---|---|
| committer | 2023-11-03 21:17:06 +0800 | |
| commit | 94071d7ce16c56641d67d488e2bac6be84ffe731 (patch) | |
| tree | d837b71575aba805e18b3db3d056a106d81818fe /examples/with-docker/apps/api/src/__tests__ | |
| parent | 9f0d43fe099a95ab1516ae951dcb60a89e76a5a5 (diff) | |
| download | HydroRoll-94071d7ce16c56641d67d488e2bac6be84ffe731.tar.gz HydroRoll-94071d7ce16c56641d67d488e2bac6be84ffe731.zip | |
chore: delete useless files
Diffstat (limited to 'examples/with-docker/apps/api/src/__tests__')
| -rw-r--r-- | examples/with-docker/apps/api/src/__tests__/server.test.ts | 22 | ||||
| -rw-r--r-- | examples/with-docker/apps/api/src/__tests__/tsconfig.json | 4 |
2 files changed, 0 insertions, 26 deletions
diff --git a/examples/with-docker/apps/api/src/__tests__/server.test.ts b/examples/with-docker/apps/api/src/__tests__/server.test.ts deleted file mode 100644 index c0c9806..0000000 --- a/examples/with-docker/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" }); - }); - }); -}); diff --git a/examples/with-docker/apps/api/src/__tests__/tsconfig.json b/examples/with-docker/apps/api/src/__tests__/tsconfig.json deleted file mode 100644 index bf65be6..0000000 --- a/examples/with-docker/apps/api/src/__tests__/tsconfig.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "extends": "../../tsconfig.json", - "include": [".", "../."] -} |
