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 9de05f0 commit 1f33ea0Copy full SHA for 1f33ea0
packages/expect-puppeteer/src/options.js
@@ -7,8 +7,10 @@ export const setDefaultOptions = options => {
7
export const getDefaultOptions = () => {
8
if (
9
global.puppeteerConfig &&
10
- global.puppeteerConfig.launch &&
11
- global.puppeteerConfig.launch.slowMo &&
+ (
+ (global.puppeteerConfig.launch && global.puppeteerConfig.launch.slowMo) ||
12
+ (global.puppeteerConfig.connect && global.puppeteerConfig.connect.slowMo)
13
+ ) &&
14
defaultOptionsValue &&
15
defaultOptionsValue.timeout
16
) {
0 commit comments