{"file":"client/test/setup.ts","version":2,"draft":"login-timeout","total":13,"from":1,"to":13,"lines":[{"n":1,"text":"// Loaded before every test file (npm test: node --import). New folders are made as .abso or .avcs by what mods","atom":"a267","author":"review","version":32},{"n":2,"text":"// are installed (state-dir.ts newFolderDir), so a test must not read this machine's ~/.claude: it gets a Claude","atom":"a267","author":"review","version":32},{"n":3,"text":"// folder with one mod from before the rename installed, which keeps new folders on .avcs. The tests of that","atom":"a267","author":"review","version":32},{"n":4,"text":"// choice (new-folder-dir.test.ts) pass their own folders.","atom":"a267","author":"review","version":32},{"n":5,"text":"import { mkdirSync, mkdtempSync, writeFileSync } from \"node:fs\";","atom":"a267","author":"review","version":32},{"n":6,"text":"import { tmpdir } from \"node:os\";","atom":"a267","author":"review","version":32},{"n":7,"text":"import { join } from \"node:path\";","atom":"a267","author":"review","version":32},{"n":8,"text":"","atom":"a267","author":"review","version":32},{"n":9,"text":"const claude = mkdtempSync(join(tmpdir(), \"abso-test-claude-\"));","atom":"a267","author":"review","version":32},{"n":10,"text":"const mod = join(claude, \"skills\", \"avcs\");","atom":"a267","author":"review","version":32},{"n":11,"text":"mkdirSync(mod, { recursive: true });","atom":"a267","author":"review","version":32},{"n":12,"text":"writeFileSync(join(mod, \".avcs-install.json\"), JSON.stringify({ mod: \"avcs\", version: \"0.1.0+0000000\" }));","atom":"a267","author":"review","version":32},{"n":13,"text":"process.env.CLAUDE_CONFIG_DIR = claude;","atom":"a267","author":"review","version":32}],"atoms":[{"atom":"a267","author":"review","message":"","time":1791541692946,"timeIso":"2026-10-09T10:28:12.946Z","publish":{"draft":null,"version":32,"agent":"review","message":"Client: tests no longer read this machine's Claude folder (setup.ts), a mod folder with no readable install record counts as old, import-git keeps .abso (Pinch's review of 28, abso 253)","time":1791541763659,"timeIso":"2026-10-09T10:29:23.659Z"}}]}