Skip to content

Commit f717d8c

Browse files
committed
up
1 parent 81f199c commit f717d8c

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

vitest.browser.config.mts

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -204,14 +204,14 @@ function buildLocalCapabilities(browserName: string) {
204204
function buildBrowserStackCapabilities(config: typeof browserConfig) {
205205
return {
206206
browserName: config.browserName,
207-
webSocketUrl: false, // Disable WebDriver Bidi for BrowserStack
208-
// 'goog:chromeOptions': {
209-
// args: [
210-
// '--disable-blink-features=AutomationControlled',
211-
// '--disable-dev-shm-usage',
212-
// '--no-sandbox',
213-
// ],
214-
// },
207+
webSocketUrl: true, // Disable WebDriver Bidi for BrowserStack
208+
'goog:chromeOptions': {
209+
args: [
210+
'--disable-blink-features=AutomationControlled',
211+
'--disable-dev-shm-usage',
212+
'--no-sandbox',
213+
],
214+
},
215215
'bstack:options': {
216216
os: config.os,
217217
osVersion: config.osVersion,
@@ -455,9 +455,9 @@ export default defineConfig({
455455
},
456456
},
457457
test: {
458-
api: {
459-
port: Math.floor(Math.random() * 30001) + 30000,
460-
},
458+
// api: {
459+
// port: Math.floor(Math.random() * 30001) + 30000,
460+
// },
461461
isolate: false,
462462
fileParallelism: true,
463463
browser: {

0 commit comments

Comments
 (0)