File tree Expand file tree Collapse file tree 2 files changed +12
-2
lines changed Expand file tree Collapse file tree 2 files changed +12
-2
lines changed Original file line number Diff line number Diff line change @@ -223,7 +223,17 @@ grunt.initConfig( {
223
223
return ! ( / ( a l l | i n d e x | t e s t ) \. h t m l $ / ) . test ( file ) ;
224
224
} ) ,
225
225
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
+ ] ,
227
237
page : {
228
238
viewportSize : { width : 700 , height : 500 }
229
239
}
Original file line number Diff line number Diff line change 62
62
"grunt-contrib-concat" : " 0.5.1" ,
63
63
"grunt-contrib-csslint" : " 0.5.0" ,
64
64
"grunt-contrib-jshint" : " 0.12.0" ,
65
- "grunt-contrib-qunit" : " 1.0.1 " ,
65
+ "grunt-contrib-qunit" : " 3. 1.0" ,
66
66
"grunt-contrib-requirejs" : " 0.4.4" ,
67
67
"grunt-contrib-uglify" : " 0.11.1" ,
68
68
"grunt-git-authors" : " 3.1.0" ,
You can’t perform that action at this time.
0 commit comments