File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -261,7 +261,7 @@ describe('Server', function () {
261261 . get ( '/list?_page=2' )
262262 . expect ( 'Content-Type' , / j s o n / )
263263 . expect ( 'x-total-count' , db . list . length . toString ( ) )
264- . expect ( 'Access-Control-Expose-Headers' , 'X-Total-Count' )
264+ . expect ( 'Access-Control-Expose-Headers' , 'X-Total-Count, Links ' )
265265 . expect ( db . list . slice ( 10 , 20 ) )
266266 . expect ( 200 , done )
267267 } )
@@ -281,7 +281,7 @@ describe('Server', function () {
281281 . expect ( 'Content-Type' , / j s o n / )
282282 . expect ( 'x-total-count' , db . list . length . toString ( ) )
283283 . expect ( 'link' , link )
284- . expect ( 'Access-Control-Expose-Headers' , 'X-Total-Count' )
284+ . expect ( 'Access-Control-Expose-Headers' , 'X-Total-Count, Links ' )
285285 . expect ( db . list . slice ( 1 , 2 ) )
286286 . expect ( 200 , done )
287287 } )
You can’t perform that action at this time.
0 commit comments