From bd70a4b9fe1c9622e3dee6379e8a65c715f0fd34 Mon Sep 17 00:00:00 2001 From: sakshi87 Date: Wed, 7 Aug 2019 18:18:15 +0530 Subject: [PATCH 1/4] Updated grunt-contrib-qunit version to v4.0.0 Signed-off-by: sakshi87 --- Gruntfile.js | 12 +++++++++++- package.json | 2 +- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/Gruntfile.js b/Gruntfile.js index d472eaeef38..155e97757ea 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 079500db6e5..a5a992de4c2 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", From 01617a7516189c63c7db4e3bc08c778cec8789e0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Go=C5=82=C4=99biowski-Owczarek?= Date: Wed, 21 Oct 2020 22:18:02 +0200 Subject: [PATCH 2/4] Code style updates in Gruntfile.js --- Gruntfile.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Gruntfile.js b/Gruntfile.js index 155e97757ea..17ece07f4fa 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -226,12 +226,12 @@ grunt.initConfig( { } ), options: { puppeteer: { - ignoreDefaultArgs: true, - args: [ - "--headless", - "--disable-web-security", - "--allow-file-access-from-files" - ] + ignoreDefaultArgs: true, + args: [ + "--headless", + "--disable-web-security", + "--allow-file-access-from-files" + ] }, inject: [ require.resolve("grunt-contrib-qunit/chrome/bridge") From f7727ffb507100a78d7d1cb93c71f952d309086e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Go=C5=82=C4=99biowski-Owczarek?= Date: Wed, 21 Oct 2020 22:18:36 +0200 Subject: [PATCH 3/4] Code style updates in Gruntfile.js --- Gruntfile.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Gruntfile.js b/Gruntfile.js index 17ece07f4fa..1cbd43a2c50 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -227,11 +227,11 @@ grunt.initConfig( { options: { puppeteer: { ignoreDefaultArgs: true, - args: [ - "--headless", - "--disable-web-security", - "--allow-file-access-from-files" - ] + args: [ + "--headless", + "--disable-web-security", + "--allow-file-access-from-files" + ] }, inject: [ require.resolve("grunt-contrib-qunit/chrome/bridge") From ea7e1b85d3aece8eb04159021a231b048dbb6dc8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Go=C5=82=C4=99biowski-Owczarek?= Date: Wed, 21 Oct 2020 22:19:32 +0200 Subject: [PATCH 4/4] Code style updates in Gruntfile.js --- Gruntfile.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Gruntfile.js b/Gruntfile.js index 1cbd43a2c50..9a64cefbe3f 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -234,7 +234,7 @@ grunt.initConfig( { ] }, inject: [ - require.resolve("grunt-contrib-qunit/chrome/bridge") + require.resolve( "grunt-contrib-qunit/chrome/bridge" ) ], page: { viewportSize: { width: 700, height: 500 }