mirror of
https://github.com/AmruthPillai/Reactive-Resume.git
synced 2025-11-19 03:01:53 +10:00
refactor(v4.0.0-alpha): beginning of a new era
This commit is contained in:
10
apps/server-e2e/src/server/health.spec.ts
Normal file
10
apps/server-e2e/src/server/health.spec.ts
Normal file
@ -0,0 +1,10 @@
|
||||
import axios from "axios";
|
||||
|
||||
describe("GET /api/health", () => {
|
||||
it("should return a status 'ok'", async () => {
|
||||
const res = await axios.get(`/health`);
|
||||
|
||||
expect(res.status).toBe(200);
|
||||
expect(res.data).toMatchObject({ status: "ok" });
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user