fix: use of wrong launchOptions type in public API (#385)

This commit is contained in:
Max Schmitt 2025-05-09 14:16:04 +02:00 committed by GitHub
parent 053c2f3d32
commit 95ca08fdb7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 4 additions and 4 deletions

View file

@ -175,7 +175,7 @@ function mergeConfig(base: Config, overrides: Config): Config {
},
};
if (browser.browserName !== 'chromium')
if (browser.browserName !== 'chromium' && browser.launchOptions)
delete browser.launchOptions.channel;
return {