diff options
Diffstat (limited to 'api/tests/routes/ping.test.js')
-rw-r--r-- | api/tests/routes/ping.test.js | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/api/tests/routes/ping.test.js b/api/tests/routes/ping.test.js deleted file mode 100644 index 6fa4b160..00000000 --- a/api/tests/routes/ping.test.js +++ /dev/null @@ -1,12 +0,0 @@ -const supertest = require("supertest"); -const request = supertest("http://localhost:3001"); - -describe("/ping", () => { - describe("GET", () => { - test("should return 200 and pong", async () => { - let response = await request.get("/api/ping"); - expect(response.text).toBe("pong"); - expect(response.statusCode).toBe(200); - }); - }); -}); |