@@ -314,6 +314,7 @@ describe('endpoint definition typings', () => {
314
314
getState : expect . any ( Function ) ,
315
315
signal : expect . any ( Object ) ,
316
316
type : expect . any ( String ) ,
317
+ queryCacheKey : expect . any ( String ) ,
317
318
}
318
319
beforeEach ( ( ) => {
319
320
baseQuery . mockClear ( )
@@ -355,6 +356,7 @@ describe('endpoint definition typings', () => {
355
356
abort : expect . any ( Function ) ,
356
357
forced : expect . any ( Boolean ) ,
357
358
type : expect . any ( String ) ,
359
+ queryCacheKey : expect . any ( String ) ,
358
360
} ,
359
361
undefined ,
360
362
] ,
@@ -368,6 +370,7 @@ describe('endpoint definition typings', () => {
368
370
abort : expect . any ( Function ) ,
369
371
forced : expect . any ( Boolean ) ,
370
372
type : expect . any ( String ) ,
373
+ queryCacheKey : expect . any ( String ) ,
371
374
} ,
372
375
undefined ,
373
376
] ,
@@ -499,8 +502,24 @@ describe('endpoint definition typings', () => {
499
502
expect ( baseQuery . mock . calls ) . toEqual ( [
500
503
[ 'modified1' , commonBaseQueryApi , undefined ] ,
501
504
[ '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
+ ] ,
504
523
] )
505
524
} )
506
525
0 commit comments