@@ -163,23 +163,23 @@ describe("express with postman-echo", function () {
163163 . get ( "/delay/3" )
164164 . set ( "x-sync-wait" , "eek" )
165165 . set ( "Accept" , "application/json" )
166- . expect ( 400 , { err : "x-sync-wait should be a number between 0.25 and 29 " } , done ) ;
166+ . expect ( 400 , { err : "x-sync-wait should be a number between 0.25 and 59 " } , done ) ;
167167 } ) ;
168168
169169 it ( "it validates x-sync-wait is > lower bound" , ( done ) => {
170170 request ( server )
171171 . get ( "/delay/3" )
172172 . set ( "x-sync-wait" , "0.0001" )
173173 . set ( "Accept" , "application/json" )
174- . expect ( 400 , { err : "x-sync-wait should be a number between 0.25 and 29 " } , done ) ;
174+ . expect ( 400 , { err : "x-sync-wait should be a number between 0.25 and 59 " } , done ) ;
175175 } ) ;
176176
177177 it ( "it validates x-sync-wait is < upper bound" , ( done ) => {
178178 request ( server )
179179 . get ( "/delay/3" )
180- . set ( "x-sync-wait" , "30 " )
180+ . set ( "x-sync-wait" , "60 " )
181181 . set ( "Accept" , "application/json" )
182- . expect ( 400 , { err : "x-sync-wait should be a number between 0.25 and 29 " } , done ) ;
182+ . expect ( 400 , { err : "x-sync-wait should be a number between 0.25 and 59 " } , done ) ;
183183 } ) ;
184184
185185 it ( "it times out if x-sync-wait shorter than initial response" , ( done ) => {
0 commit comments