aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Gruntfile.js12
-rw-r--r--package.json2
2 files changed, 12 insertions, 2 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 }
}
diff --git a/package.json b/package.json
index 079500db6..a5a992de4 100644
--- a/package.json
+++ b/package.json
@@ -58,7 +58,7 @@
"grunt-contrib-concat": "1.0.1",
"grunt-contrib-csslint": "2.0.0",
"grunt-contrib-jshint": "0.12.0",
- "grunt-contrib-qunit": "1.0.1",
+ "grunt-contrib-qunit": "4.0.0",
"grunt-contrib-requirejs": "1.0.0",
"grunt-contrib-uglify": "5.0.0",
"grunt-git-authors": "3.2.0",