misc.spec.ts 313 B

1234567891011121314
  1. import { sendReq } from "./hooks";
  2. describe("Miscellaneous", () => {
  3. //#region health check
  4. it("Health check", async () => {
  5. const { status, headers } = await sendReq("/health", {
  6. method: "HEAD",
  7. });
  8. expect(status).toBe(200);
  9. expect(headers.get("api-info")).not.toBeNull();
  10. });
  11. });