File tree Expand file tree Collapse file tree 1 file changed +1
-8
lines changed Expand file tree Collapse file tree 1 file changed +1
-8
lines changed Original file line number Diff line number Diff line change @@ -119,13 +119,6 @@ describe('serveStatic()', function(){
119119 . get ( '/.hidden' )
120120 . expect ( 404 , done ) ;
121121 } ) ;
122-
123- it ( 'should set max-age=0 by default' , function ( done ) {
124- request ( server )
125- . get ( '/todo.txt' )
126- . expect ( 'cache-control' , 'public, max-age=0' )
127- . expect ( 200 , done )
128- } ) ;
129122 } ) ;
130123
131124 ( skipRelative ? describe . skip : describe ) ( 'current dir' , function ( ) {
@@ -588,7 +581,7 @@ describe('serveStatic()', function(){
588581 describe ( 'when index at mount point' , function ( ) {
589582 var server ;
590583 before ( function ( ) {
591- server = createServer ( 'test/ fixtures/users', null , function ( req ) {
584+ server = createServer ( fixtures + ' /users', null , function ( req ) {
592585 req . originalUrl = req . url ;
593586 req . url = '/' + req . url . split ( '/' ) . slice ( 2 ) . join ( '/' ) ;
594587 } ) ;
You can’t perform that action at this time.
0 commit comments