@@ -377,6 +377,7 @@ describe('API Gateway', () => {
377377 queryType : 'regularQuery' ,
378378 normalizedQueries : [
379379 {
380+ cacheMode : 'stale-if-slow' ,
380381 measures : [ 'Foo.bar' ] ,
381382 timezone : 'UTC' ,
382383 filters : [ ] ,
@@ -389,6 +390,7 @@ describe('API Gateway', () => {
389390 ] ,
390391 queryOrder : [ { id : 'desc' } ] ,
391392 pivotQuery : {
393+ cacheMode : 'stale-if-slow' ,
392394 measures : [ 'Foo.bar' ] ,
393395 timezone : 'UTC' ,
394396 filters : [ ] ,
@@ -436,6 +438,7 @@ describe('API Gateway', () => {
436438 ( res ) => {
437439 expect ( res . body . normalizedQueries ) . toStrictEqual ( [
438440 {
441+ cacheMode : 'stale-if-slow' ,
439442 measures : [ 'Foo.bar' ] ,
440443 timezone : 'UTC' ,
441444 filters : [ {
@@ -511,6 +514,7 @@ describe('API Gateway', () => {
511514 queryType : 'regularQuery' ,
512515 normalizedQueries : [
513516 {
517+ cacheMode : 'stale-if-slow' ,
514518 measures : [ 'Foo.bar' ] ,
515519 timezone : 'UTC' ,
516520 filters : [ ] ,
@@ -523,6 +527,7 @@ describe('API Gateway', () => {
523527 ] ,
524528 queryOrder : [ { id : 'desc' } ] ,
525529 pivotQuery : {
530+ cacheMode : 'stale-if-slow' ,
526531 measures : [ 'Foo.bar' ] ,
527532 timezone : 'UTC' ,
528533 filters : [ ] ,
@@ -556,6 +561,7 @@ describe('API Gateway', () => {
556561 queryType : 'regularQuery' ,
557562 normalizedQueries : [
558563 {
564+ cacheMode : 'stale-if-slow' ,
559565 measures : [ 'Foo.bar' ] ,
560566 order : [ { id : 'Foo.bar' , desc : true } ] ,
561567 timezone : 'UTC' ,
@@ -569,6 +575,7 @@ describe('API Gateway', () => {
569575 ] ,
570576 queryOrder : [ { id : 'desc' } ] ,
571577 pivotQuery : {
578+ cacheMode : 'stale-if-slow' ,
572579 measures : [ 'Foo.bar' ] ,
573580 order : [ { id : 'Foo.bar' , desc : true } ] ,
574581 timezone : 'UTC' ,
0 commit comments