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: normalize auto-update repo root expectation on windows

Affaan Mustafa149fae70080c
diff --git a/tests/scripts/auto-update.test.js b/tests/scripts/auto-update.test.js
index ca77149b2..6528eadae 100644
--- a/tests/scripts/auto-update.test.js
+++ b/tests/scripts/auto-update.test.js
@@ -121,7 +121,10 @@ function runTests() {
],
};
- assert.strictEqual(deriveRepoRootFromState(state), path.join('/tmp', 'ecc'));
+ assert.strictEqual(
+ deriveRepoRootFromState(state),
+ path.resolve(path.join('/tmp', 'ecc'))
+ );
})) passed += 1; else failed += 1;
if (test('deriveRepoRootFromState fails when source metadata is unavailable', () => {