diff --git a/dsh-plugin-desktop/tests/verify-electron-fuses.spec.ts b/dsh-plugin-desktop/tests/verify-electron-fuses.spec.ts index 129bfb6f3d..1a57cb2762 100644 --- a/dsh-plugin-desktop/tests/verify-electron-fuses.spec.ts +++ b/dsh-plugin-desktop/tests/verify-electron-fuses.spec.ts @@ -163,7 +163,7 @@ describe('final Electron fuse verification', () => { expect(() => resolveFinalPackagedRuntimeContexts( result([{ key: 'win', archs: [Arch.x64, Arch.arm64] }]), filename => filename === x64Executable, - )).toThrow('win/arm64 at /build/win-arm64-unpacked/WorkDSH.exe') + )).toThrow(`win/arm64 at ${join('/build', 'win-arm64-unpacked', 'WorkDSH.exe')}`) }) it('checks a macOS directory build even when MacPackager omits its target', () => {