Skip to content

Commit fcba20a

Browse files
jquery-ui: Adding puppeteer support
Signed-off-by: sakshi87 <sakshi.sharma@puresoftware.com>
1 parent e7a10c7 commit fcba20a

File tree

2 files changed

+12
-2
lines changed

2 files changed

+12
-2
lines changed

Gruntfile.js

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,17 @@ grunt.initConfig( {
223223
return !( /(all|index|test)\.html$/ ).test( file );
224224
} ),
225225
options: {
226-
inject: false,
226+
puppeteer: {
227+
ignoreDefaultArgs: true,
228+
args: [
229+
"--headless",
230+
"--disable-web-security",
231+
"--allow-file-access-from-files"
232+
]
233+
},
234+
inject: [
235+
require.resolve("grunt-contrib-qunit/chrome/bridge")
236+
],
227237
page: {
228238
viewportSize: { width: 700, height: 500 }
229239
}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@
6262
"grunt-contrib-concat": "0.5.1",
6363
"grunt-contrib-csslint": "0.5.0",
6464
"grunt-contrib-jshint": "0.12.0",
65-
"grunt-contrib-qunit": "1.0.1",
65+
"grunt-contrib-qunit": "3.1.0",
6666
"grunt-contrib-requirejs": "0.4.4",
6767
"grunt-contrib-uglify": "0.11.1",
6868
"grunt-git-authors": "3.1.0",

0 commit comments

Comments
 (0)