@@ -314,6 +314,7 @@ describe('endpoint definition typings', () => {
314314 getState : expect . any ( Function ) ,
315315 signal : expect . any ( Object ) ,
316316 type : expect . any ( String ) ,
317+ queryCacheKey : expect . any ( String ) ,
317318 }
318319 beforeEach ( ( ) => {
319320 baseQuery . mockClear ( )
@@ -355,6 +356,7 @@ describe('endpoint definition typings', () => {
355356 abort : expect . any ( Function ) ,
356357 forced : expect . any ( Boolean ) ,
357358 type : expect . any ( String ) ,
359+ queryCacheKey : expect . any ( String ) ,
358360 } ,
359361 undefined ,
360362 ] ,
@@ -368,6 +370,7 @@ describe('endpoint definition typings', () => {
368370 abort : expect . any ( Function ) ,
369371 forced : expect . any ( Boolean ) ,
370372 type : expect . any ( String ) ,
373+ queryCacheKey : expect . any ( String ) ,
371374 } ,
372375 undefined ,
373376 ] ,
@@ -499,8 +502,24 @@ describe('endpoint definition typings', () => {
499502 expect ( baseQuery . mock . calls ) . toEqual ( [
500503 [ 'modified1' , commonBaseQueryApi , undefined ] ,
501504 [ 'modified2' , commonBaseQueryApi , undefined ] ,
502- [ 'modified1' , { ...commonBaseQueryApi , forced : undefined } , undefined ] ,
503- [ 'modified2' , { ...commonBaseQueryApi , forced : undefined } , undefined ] ,
505+ [
506+ 'modified1' ,
507+ {
508+ ...commonBaseQueryApi ,
509+ forced : undefined ,
510+ queryCacheKey : undefined ,
511+ } ,
512+ undefined ,
513+ ] ,
514+ [
515+ 'modified2' ,
516+ {
517+ ...commonBaseQueryApi ,
518+ forced : undefined ,
519+ queryCacheKey : undefined ,
520+ } ,
521+ undefined ,
522+ ] ,
504523 ] )
505524 } )
506525
0 commit comments