We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e454973 commit 7b484a8Copy full SHA for 7b484a8
packages/jest-environment-puppeteer/src/PuppeteerEnvironment.js
@@ -37,14 +37,7 @@ class PuppeteerEnvironment extends NodeEnvironment {
37
throw new Error('wsEndpoint not found')
38
}
39
this.global.browser = await puppeteer.connect({
40
- slowMo:
41
- config && config.launch && config.launch.slowMo
42
- ? config.launch.slowMo
43
- : undefined,
44
- ignoreHTTPSErrors:
45
- config && config.launch && config.launch.ignoreHTTPSErrors
46
- ? config.launch.ignoreHTTPSErrors
47
+ ...config.launch,
48
browserWSEndpoint: wsEndpoint,
49
})
50
this.global.page = await this.global.browser.newPage()
0 commit comments