forked from syntaxbullet/AuroraBot-discord
feat: move status to footer and clean up home page
This commit is contained in:
@@ -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 () => {
|
||||
|
||||
Reference in New Issue
Block a user