Add folder game, file browser UI, and automated tests.

Introduces a localStorage-backed messy-desktop challenge with sub-steps,
drag-and-drop and Places/Back navigation, IBM Plex Mono, and a /api/health
endpoint. Adds Vitest coverage for the API and level logic plus Playwright
smoke tests.

Made-with: Cursor
This commit is contained in:
2026-04-11 18:22:50 +12:00
parent 818da20af8
commit 1957e96363
21 changed files with 1429 additions and 53 deletions

View File

@@ -0,0 +1,11 @@
import { describe, expect, it } from "vitest";
import { GET } from "~/app/api/health/route";
describe("GET /api/health", () => {
it("returns 200 and status ok", async () => {
const res = await GET();
expect(res.status).toBe(200);
await expect(res.json()).resolves.toEqual({ status: "ok" });
});
});