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

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
drakeo338
2026-09-30 16:06:15 +00:00
co-authored by Claude Sonnet 5.5
parent 334b7847bd
commit b802ec80a6
+1 -1
View File
@@ -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 });