{"draft":null,"from":22,"to":318,"files":[{"path":"client/test/setup.ts","added":13,"removed":0,"diff":"--- /dev/null\n+++ b/client/test/setup.ts\n@@ -0,0 +1,13 @@\n+// Loaded before every test file (npm test: node --import). New folders are made as .abso or .avcs by what mods\n+// are installed (state-dir.ts newFolderDir), so a test must not read this machine's ~/.claude: it gets a Claude\n+// folder with one mod from before the rename installed, which keeps new folders on .avcs. The tests of that\n+// choice (new-folder-dir.test.ts) pass their own folders.\n+import { mkdirSync, mkdtempSync, writeFileSync } from \"node:fs\";\n+import { tmpdir } from \"node:os\";\n+import { join } from \"node:path\";\n+\n+const claude = mkdtempSync(join(tmpdir(), \"abso-test-claude-\"));\n+const mod = join(claude, \"skills\", \"avcs\");\n+mkdirSync(mod, { recursive: true });\n+writeFileSync(join(mod, \".avcs-install.json\"), JSON.stringify({ mod: \"avcs\", version: \"0.1.0+0000000\" }));\n+process.env.CLAUDE_CONFIG_DIR = claude;"}],"unmatched":[]}