@kazion/create-app
Version:
A cli tool to help you get started with graphql and rest api's with typescript
15 lines (10 loc) • 307 B
text/typescript
import request from "supertest";
import { describe, expect, it } from "vitest";
import { app } from "~/app";
const agent = request.agent(app);
describe("Health", () => {
it("health check", async () => {
const response = await agent.get("/health");
expect(response.status).toBe(200);
});
});