File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 1212 "send" : " 0.15.0"
1313 },
1414 "devDependencies" : {
15- "eslint" : " 3.16.1 " ,
16- "eslint-config-standard" : " 6.2.1 " ,
15+ "eslint" : " 3.17.0 " ,
16+ "eslint-config-standard" : " 7.0.0 " ,
1717 "eslint-plugin-markdown" : " 1.0.0-beta.4" ,
18- "eslint-plugin-promise" : " 3.4 .0" ,
19- "eslint-plugin-standard" : " 2.0 .1" ,
18+ "eslint-plugin-promise" : " 3.5 .0" ,
19+ "eslint-plugin-standard" : " 2.1 .1" ,
2020 "istanbul" : " 0.4.5" ,
2121 "mocha" : " 2.5.3" ,
2222 "supertest" : " 1.1.0"
Original file line number Diff line number Diff line change @@ -427,14 +427,14 @@ describe('serveStatic()', function () {
427427 it ( 'should accept string' , function ( done ) {
428428 request ( createServer ( fixtures , { 'maxAge' : '30d' } ) )
429429 . get ( '/todo.txt' )
430- . expect ( 'cache-control' , 'public, max-age=' + 60 * 60 * 24 * 30 )
430+ . expect ( 'cache-control' , 'public, max-age=' + ( 60 * 60 * 24 * 30 ) )
431431 . expect ( 200 , done )
432432 } )
433433
434434 it ( 'should be reasonable when infinite' , function ( done ) {
435435 request ( createServer ( fixtures , { 'maxAge' : Infinity } ) )
436436 . get ( '/todo.txt' )
437- . expect ( 'cache-control' , 'public, max-age=' + 60 * 60 * 24 * 365 )
437+ . expect ( 'cache-control' , 'public, max-age=' + ( 60 * 60 * 24 * 365 ) )
438438 . expect ( 200 , done )
439439 } )
440440 } )
You can’t perform that action at this time.
0 commit comments