Skip to content

Commit

Permalink
Update tests to use endpoints directly
Browse files Browse the repository at this point in the history
  • Loading branch information
Yoginth committed Oct 4, 2024
1 parent 28b343c commit fcaa083
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/api/tests/health.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { TEST_URL } from "src/helpers/constants";
import { describe, expect, test } from "vitest";

describe("GET /health", () => {
test("should respond with pong", async () => {
test("should respond with status 200 and correct health information", async () => {
const { data, status } = await axios.get(`${TEST_URL}/health`);

expect(status).toBe(200);
Expand Down

0 comments on commit fcaa083

Please sign in to comment.