feat: move status to footer and clean up home page

This commit is contained in:
syntaxbullet
2026-01-07 13:21:36 +01:00
parent 292991c605
commit ff23f22337
4 changed files with 58 additions and 11 deletions

View File

@@ -7,7 +7,10 @@ describe("Web Router", () => {
const res = await router(req);
expect(res.status).toBe(200);
expect(res.headers.get("Content-Type")).toBe("text/html");
expect(await res.text()).toContain("Aurora Web");
const text = await res.text();
expect(text).toContain("Aurora Web");
expect(text).toContain("Uptime:");
expect(text).toContain('id="uptime-display"');
});
it("should return health check on /health", async () => {