mirror of
https://github.com/delibae/claude-prism.git
synced 2026-10-11 03:37:54 +00:00
Set up Vitest with jsdom environment and Tauri mocks for frontend testing. Add 44 frontend tests covering Zustand stores (claude-chat, project, proposed-changes, template) and lib utilities (template-registry, file type classification). Add 48 Rust unit tests across zotero (OAuth helpers), slash_commands (markdown parsing), latex (error extraction, SyncTeX parsing), and claude (session dir encoding, message title cleaning). Update README with test commands. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
26 lines
629 B
JSON
26 lines
629 B
JSON
{
|
|
"$schema": "https://turbo.build/schema.json",
|
|
"ui": "tui",
|
|
"tasks": {
|
|
"build": {
|
|
"dependsOn": ["^build"],
|
|
"inputs": ["$TURBO_DEFAULT$", ".env*"],
|
|
"outputs": [".next/**", "!.next/cache/**", ".wrangler/**", "dist/**", "src-tauri/target/**"],
|
|
"env": [
|
|
"LATEX_API_URL",
|
|
"KV_REST_API_URL",
|
|
"KV_REST_API_TOKEN"
|
|
]
|
|
},
|
|
"test": {
|
|
"dependsOn": ["^build"],
|
|
"inputs": ["src/**", "tests/**", "vitest.config.*"]
|
|
},
|
|
"dev": {
|
|
"cache": false,
|
|
"persistent": true
|
|
}
|
|
},
|
|
"globalEnv": [],
|
|
"globalDependencies": [".env", ".env.local"]
|
|
}
|