Skip to content

The agent that grows with you

test(desktop): compare get-windows installer path via realpath

Brooklyn Nicholson0223710d0034
diff --git a/apps/desktop/scripts/stage-native-deps.test.mjs b/apps/desktop/scripts/stage-native-deps.test.mjs
index 51eea1718d8..9d20a039fbb 100644
--- a/apps/desktop/scripts/stage-native-deps.test.mjs
+++ b/apps/desktop/scripts/stage-native-deps.test.mjs
@@ -547,7 +547,7 @@ test('get-windows native install invokes node-pre-gyp directly from the package
assert.deepEqual(calls, [
{
command: process.execPath,
- args: [installer, 'install', '--fallback-to-build'],
+ args: [fs.realpathSync(installer), 'install', '--fallback-to-build'],
options: { cwd: srcRoot, stdio: 'inherit' }
}
])