claude-prism/turbo.json
delibae c2234ba7e8 test: add test infrastructure with Vitest (frontend) and Rust unit tests
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>
2026-03-02 15:08:22 +09:00

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"]
}