feat: complete server-backed six-lesson app and trial tooling
Frontend CI / unit (test, type-check, build) (push) Successful in 1m11s
Frontend CI / browser E2E (frontend + pinned backend) (push) Failing after 2m48s

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-10-12 14:40:37 +03:30
co-authored by Cursor
parent 653f1b0c5a
commit e3f0457dc9
73 changed files with 3792 additions and 395 deletions
+17
View File
@@ -0,0 +1,17 @@
import { readFileSync, rmSync } from 'node:fs'
import { join } from 'node:path'
export default function globalTeardown() {
const statePath = join(process.cwd(), 'e2e', '.runtime', 'state.json')
try {
const { tempDir } = JSON.parse(readFileSync(statePath, 'utf8')) as { tempDir: string }
rmSync(tempDir, { recursive: true, force: true })
} catch {
// ignore
}
try {
rmSync(join(process.cwd(), 'e2e', '.runtime'), { recursive: true, force: true })
} catch {
// ignore
}
}