diff --git a/lib/smoke/smoke-test.js b/lib/smoke/smoke-test.js index d0a6528..ca52b2a 100644 --- a/lib/smoke/smoke-test.js +++ b/lib/smoke/smoke-test.js @@ -66,7 +66,7 @@ class SmokeTest { const crossBrowserTests = []; // https://github.com/GoogleChrome/puppeteer/issues/2377 - const launchOptions = (process.env.NODE_ENV === 'development' || process.env.NODE_ENV === 'development') ? + const launchOptions = (process.env.NODE_ENV === 'development' || process.env.NODE_ENV === 'test') ? {args: ['--ignore-certificate-errors', '--enable-features=NetworkService', '--no-sandbox', '--disable-setuid-sandbox']} : {}; this.browser = await puppeteer.launch(launchOptions);