diff --git a/client/e2e/wdio.browserstack.conf.ts b/client/e2e/wdio.browserstack.conf.ts index 124462f0b..cb7fd3229 100644 --- a/client/e2e/wdio.browserstack.conf.ts +++ b/client/e2e/wdio.browserstack.conf.ts @@ -163,8 +163,7 @@ module.exports = { if (options.protocol === 'https:') { options['agent'] = secureAgent return httpsRequest(options, callback) - } - else { + } else { options['agent'] = agent return httpRequest(options, callback) }