From a681bbaf254861a2e92dd197cb202fdf8a0117bf Mon Sep 17 00:00:00 2001 From: sudacode Date: Mon, 26 Oct 2026 23:27:24 -0700 Subject: [PATCH] test(launcher): gate Linux AppImage env test with early return Bun's node:test shim ignores the skip option, so the Linux-only test ran and failed on macOS. --- launcher/mpv.test.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/launcher/mpv.test.ts b/launcher/mpv.test.ts index ff0fab42..5d00f9cb 100644 --- a/launcher/mpv.test.ts +++ b/launcher/mpv.test.ts @@ -174,8 +174,9 @@ test('runAppCommandCaptureOutput strips ELECTRON_RUN_AS_NODE from app child env' test( 'runAppCommandCaptureOutput transports Linux AppImage args through environment', - { skip: process.platform !== 'linux' }, async () => { + // Bun's node:test shim ignores the `skip` option, so gate the platform here. + if (process.platform !== 'linux') return; await withTempCase(({ dir }) => { const appPath = writeFakeApp( dir,