sixth commit
Some checks failed
Node API Test / test (push) Failing after 17s

This commit is contained in:
Gitea
2026-04-16 15:58:11 +05:30
parent 6838b2754c
commit 2132babc51
2 changed files with 8 additions and 4 deletions

View File

@@ -13,9 +13,9 @@ const app = require("./index");
describe("API Testing", () => {
test("GET / should return home message", async () => {
test("GET / should return status ok", async () => {
const res = await request(app).get("/");
expect(res.text).toBe("🚀 Home Route Working");
expect(res.body.status).toBe("ok");
});
test("GET /health should return status OK", async () => {