Files
minecraft-account-manager/apps/web/src/app/healthz/route.test.ts
T
dmg 478f3a3b87
CI / validate (push) Successful in 4m39s
Release / release (push) Successful in 6m23s
feat(deploy): publish Discord bot image
2026-08-01 15:47:27 -04:00

13 lines
406 B
TypeScript

import { describe, expect, it } from "vitest";
import { GET } from "./route";
describe("health endpoint", () => {
it("reports process readiness without requiring external services", async () => {
const response = GET();
expect(response.status).toBe(200);
expect(response.headers.get("cache-control")).toBe("no-store");
expect(await response.json()).toEqual({ status: "ok" });
});
});