Fix vitest playwright warning (#32970)

Vitest handles this upstream now
This commit is contained in:
Michael Telatynski
2026-03-30 14:42:53 +00:00
committed by GitHub
parent 14dc11f21e
commit 42149fe3b0
+1 -4
View File
@@ -108,14 +108,11 @@ export default defineConfig({
headless: true, headless: true,
provider: playwright({ provider: playwright({
contextOptions: commonContextOptions, contextOptions: commonContextOptions,
launchOptions: process.env.PW_TEST_CONNECT_WS_ENDPOINT ? undefined : commonLaunchOptions, launchOptions: commonLaunchOptions,
connectOptions: process.env.PW_TEST_CONNECT_WS_ENDPOINT connectOptions: process.env.PW_TEST_CONNECT_WS_ENDPOINT
? { ? {
wsEndpoint: process.env.PW_TEST_CONNECT_WS_ENDPOINT, wsEndpoint: process.env.PW_TEST_CONNECT_WS_ENDPOINT,
exposeNetwork: "<loopback>", exposeNetwork: "<loopback>",
headers: {
"x-playwright-launch-options": JSON.stringify(commonLaunchOptions),
},
} }
: undefined, : undefined,
}), }),