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

22
vitest.config.ts Normal file
View File

@@ -0,0 +1,22 @@
import path from "node:path";
import { fileURLToPath } from "node:url";
import { defineConfig } from "vitest/config";
const root = path.dirname(fileURLToPath(import.meta.url));
export default defineConfig({
resolve: {
alias: {
"~": path.join(root, "src"),
},
},
test: {
environment: "node",
include: ["tests/**/*.test.ts"],
exclude: ["e2e/**", "node_modules/**"],
env: {
NODE_ENV: "test",
SKIP_ENV_VALIDATION: "1",
},
},
});