mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-08 17:28:28 +00:00
fix: always skip browser opens in tests
This commit is contained in:
@@ -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";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user