Skip to content

armgit / ECC

Public Imported from GitHub
0

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

test(hooks): compare project sharing path against the canonical temp dir

drakeo338b802ec80a65a
diff --git a/tests/lib/agent-data-home.test.js b/tests/lib/agent-data-home.test.js
index 61b866096..0c507c1dd 100644
--- a/tests/lib/agent-data-home.test.js
+++ b/tests/lib/agent-data-home.test.js
@@ -551,7 +551,7 @@ function runTests() {
USERPROFILE: undefined,
}, () => {
const agentDataHome = require('../../scripts/lib/agent-data-home');
- assert.strictEqual(agentDataHome.readProjectConfigAt(configPath), sharedHome);
+ assert.strictEqual(agentDataHome.readProjectConfigAt(configPath), path.join(fs.realpathSync(homeDir), '.claude', 'shared'));
});
} finally {
fs.rmSync(homeDir, { recursive: true, force: true });