test: normalize auto-update repo root expectation on windows

This commit is contained in:
Affaan Mustafa
2026-04-13 00:38:12 -07:00
committed by Affaan Mustafa
parent a7a56fa2a2
commit 149fae7008

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;
if (test('deriveRepoRootFromState fails when source metadata is unavailable', () => {