diff --git a/tests/scripts/auto-update.test.js b/tests/scripts/auto-update.test.js index ca77149b..6528eada 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', () => {