mirror of
https://github.com/AmruthPillai/Reactive-Resume.git
synced 2026-07-15 07:17:00 +10:00
refactor(v4.0.0-alpha): beginning of a new era
This commit is contained in:
@@ -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