Skip to content

Commit ed60439

Browse files
creativeprojectsgregberge
authored andcommitted
fix: support ignoreHTTPSErrors launch option
1 parent a16d546 commit ed60439

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/jest-environment-puppeteer/src/PuppeteerEnvironment.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ class PuppeteerEnvironment extends NodeEnvironment {
1717
}
1818
this.global.browser = await puppeteer.connect({
1919
slowMo: config && config.launch && config.launch.slowMo ? config.launch.slowMo : undefined,
20+
ignoreHTTPSErrors: config && config.launch && config.launch.ignoreHTTPSErrors ? config.launch.ignoreHTTPSErrors : undefined,
2021
browserWSEndpoint: wsEndpoint,
2122
})
2223
this.global.page = await this.global.browser.newPage()

0 commit comments

Comments
 (0)