From 91b6fc3f08a6256ebb8006f96661db163aa8b5bc Mon Sep 17 00:00:00 2001 From: sakshi87 <53863764+sakshi87@users.noreply.github.com> Date: Thu, 22 Oct 2020 03:13:26 +0530 Subject: [PATCH] Build: Update grunt-contrib-qunit version from 1.0.1 to 4.0.0 Closes gh-1894 --- Gruntfile.js | 12 +++++++++++- package.json | 2 +- 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",