Skip to content

Commit a49db4d

Browse files
KSDaemonigorlukanin
authored andcommitted
fix tests
1 parent d72e2d0 commit a49db4d

File tree

1 file changed

+14
-7
lines changed

1 file changed

+14
-7
lines changed

packages/cubejs-api-gateway/test/index.test.ts

Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -384,7 +384,8 @@ describe('API Gateway', () => {
384384
limit: 10000,
385385
dimensions: [],
386386
timeDimensions: [],
387-
queryType: 'regularQuery'
387+
queryType: 'regularQuery',
388+
cache: 'stale-if-slow',
388389
}
389390
],
390391
queryOrder: [{ id: 'desc' }],
@@ -396,7 +397,8 @@ describe('API Gateway', () => {
396397
limit: 10000,
397398
dimensions: [],
398399
timeDimensions: [],
399-
queryType: 'regularQuery'
400+
queryType: 'regularQuery',
401+
cache: 'stale-if-slow',
400402
},
401403
transformedQueries: [null]
402404
});
@@ -461,7 +463,8 @@ describe('API Gateway', () => {
461463
limit: 10000,
462464
dimensions: [],
463465
timeDimensions: [],
464-
queryType: 'regularQuery'
466+
queryType: 'regularQuery',
467+
cache: 'stale-if-slow',
465468
}
466469
]);
467470
}
@@ -518,7 +521,8 @@ describe('API Gateway', () => {
518521
limit: 2,
519522
dimensions: [],
520523
timeDimensions: [],
521-
queryType: 'regularQuery'
524+
queryType: 'regularQuery',
525+
cache: 'stale-if-slow',
522526
}
523527
],
524528
queryOrder: [{ id: 'desc' }],
@@ -530,7 +534,8 @@ describe('API Gateway', () => {
530534
limit: 2,
531535
dimensions: [],
532536
timeDimensions: [],
533-
queryType: 'regularQuery'
537+
queryType: 'regularQuery',
538+
cache: 'stale-if-slow',
534539
},
535540
transformedQueries: [null]
536541
});
@@ -564,7 +569,8 @@ describe('API Gateway', () => {
564569
limit: 10000,
565570
dimensions: [],
566571
timeDimensions: [],
567-
queryType: 'regularQuery'
572+
queryType: 'regularQuery',
573+
cache: 'stale-if-slow',
568574
}
569575
],
570576
queryOrder: [{ id: 'desc' }],
@@ -577,7 +583,8 @@ describe('API Gateway', () => {
577583
limit: 10000,
578584
dimensions: [],
579585
timeDimensions: [],
580-
queryType: 'regularQuery'
586+
queryType: 'regularQuery',
587+
cache: 'stale-if-slow',
581588
},
582589
transformedQueries: [null]
583590
});

0 commit comments

Comments
 (0)