aboutsummaryrefslogtreecommitdiffstats
path: root/Gruntfile.js
diff options
context:
space:
mode:
Diffstat (limited to 'Gruntfile.js')
-rw-r--r--Gruntfile.js12
1 files changed, 11 insertions, 1 deletions
diff --git a/Gruntfile.js b/Gruntfile.js
index d472eaeef..9a64cefbe 100644
--- a/Gruntfile.js
+++ b/Gruntfile.js
@@ -225,7 +225,17 @@ grunt.initConfig( {
return !( /(all|index|test)\.html$/ ).test( file );
} ),
options: {
- inject: false,
+ puppeteer: {
+ ignoreDefaultArgs: true,
+ args: [
+ "--headless",
+ "--disable-web-security",
+ "--allow-file-access-from-files"
+ ]
+ },
+ inject: [
+ require.resolve( "grunt-contrib-qunit/chrome/bridge" )
+ ],
page: {
viewportSize: { width: 700, height: 500 }
}