test: normalize auto-update repo root expectation on windows

This commit is contained in:
Affaan Mustafa
2026-04-13 00:38:12 -07:00
parent 29497c0576
commit 7b536552e8

View File

@@ -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; })) passed += 1; else failed += 1;
if (test('deriveRepoRootFromState fails when source metadata is unavailable', () => { if (test('deriveRepoRootFromState fails when source metadata is unavailable', () => {