Skip to content

Commit

Permalink
Really check for test this time
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesnicholls committed Oct 4, 2018
1 parent 92ed1d3 commit 663dd54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/smoke/smoke-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 663dd54

Please sign in to comment.