File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -105,19 +105,19 @@ describe('sourceNodes', () => {
105105 readAll : true ,
106106 version : 'v1' ,
107107 query : {
108- limit : 2 ,
108+ limit : 3 ,
109109 } ,
110110 } ;
111111 mockResponse = {
112112 statusCode : 200 ,
113113 body : {
114114 contents : [ { id : '1' } , { id : '2' } , { id : '3' } ] ,
115- totalCount : 2 ,
115+ totalCount : 12 ,
116116 } ,
117117 } ;
118118 await sourceNodes ( { actions, createNodeId, reporter } , options ) ;
119- expect ( actions . createNode . mock . calls . length ) . toBe ( 3 ) ;
120- expect ( createNodeId . mock . calls . length ) . toBe ( 3 ) ;
119+ expect ( actions . createNode . mock . calls . length ) . toBe ( 12 ) ;
120+ expect ( createNodeId . mock . calls . length ) . toBe ( 12 ) ;
121121 expect ( reporter . panic ) . not . toBeCalled ( ) ;
122122 } ) ;
123123 test ( 'sourceNodes with list, error response' , async ( ) => {
You can’t perform that action at this time.
0 commit comments