Skip to content

Commit

Permalink
Merge pull request 0xfe#1303 from rvilarl/puppeteerOptions
Browse files Browse the repository at this point in the history
Adjust puppeteer options for Linux.
  • Loading branch information
ronyeh authored Jan 28, 2022
2 parents 675754e + 077452e commit 316c017
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -376,7 +376,14 @@ module.exports = (grunt) => {
// Run unit tests on the command line by loading tests/flow-headless-browser.html.
// Requires the CJS build to be present in the `build/cjs/` directory (See: grunt build:cjs).
// The grunt-contrib-qunit package uses puppeteer to load the test page.
qunit: { files: ['tests/flow-headless-browser.html'] },
qunit: {
options: {
puppeteer: {
args: ['--no-sandbox', '--disable-setuid-sandbox'],
},
},
files: ['tests/flow-headless-browser.html'],
},
copy: {
// grunt copy:reference
// After `grunt test` call this to save the current build/ to reference/.
Expand Down

0 comments on commit 316c017

Please sign in to comment.