fix: always skip browser opens in tests

This commit is contained in:
Peter Steinberger
2026-01-23 05:59:29 +00:00
parent bec1d0d3d4
commit e98e71401a
3 changed files with 1 additions and 3 deletions

View File

@@ -311,7 +311,6 @@ export async function detectBinary(name: string): Promise<boolean> {
}
function shouldSkipBrowserOpenInTests(): boolean {
if (process.env.CLAWDBOT_ALLOW_TEST_BROWSER_OPEN) return false;
if (process.env.VITEST) return true;
return process.env.NODE_ENV === "test";
}