File tree Expand file tree Collapse file tree 2 files changed +13
-3
lines changed Expand file tree Collapse file tree 2 files changed +13
-3
lines changed Original file line number Diff line number Diff line change @@ -219,11 +219,21 @@ grunt.initConfig({
219
219
return ! ( / ( a l l | i n d e x | t e s t ) \. h t m l $ / ) . test ( file ) ;
220
220
} ) ,
221
221
options : {
222
- inject : false ,
222
+ puppeteer : {
223
+ ignoreDefaultArgs : true ,
224
+ args : [
225
+ "--headless" ,
226
+ "--disable-web-security" ,
227
+ "--allow-file-access-from-files"
228
+ ]
229
+ } ,
230
+ inject : [
231
+ require . resolve ( "grunt-contrib-qunit/chrome/bridge" )
232
+ ] ,
223
233
page : {
224
234
viewportSize : { width : 700 , height : 500 }
225
235
}
226
- }
236
+ } ,
227
237
} ,
228
238
jshint : {
229
239
options : {
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