fix(memory): isolate test workspace cleanup

This commit is contained in:
Ralph Chang
2026-04-28 14:50:30 +08:00
parent 8da39c7a9d
commit 60b9ca75c8
14 changed files with 692 additions and 70 deletions
+2 -1
View File
@@ -16,7 +16,8 @@
"scripts": {
"build": "node -e \"console.log('No build step required: OpenCode loads index.ts directly')\"",
"typecheck": "tsc --noEmit",
"test": "node --test --experimental-strip-types tests/*.test.ts",
"test": "node --import ./tests/setup-xdg-data-home.ts --test --experimental-strip-types tests/*.test.ts",
"cleanup:workspaces": "node --experimental-strip-types scripts/dev/cleanup-workspaces.ts",
"check:compat": "npm install --no-save @opencode-ai/plugin@latest && npm run typecheck && npm test"
},
"keywords": [