test(install): rethrow unexpected soft-skip errors

This commit is contained in:
Tom Boucher
2026-05-06 21:33:11 -04:00
parent 2bc49b0aec
commit 6c321b0765

View File

@@ -166,7 +166,7 @@ describe('bug #3033: --sdk flag (opts.forceSdk) must be wired into installSdkIfN
installSdkIfNeeded({ sdkDir, isLocal: true });
});
} catch (e) {
// If process.exit was called, the test should fail below.
if (!exitCalled) throw e;
} finally {
process.exit = origExit;
}