File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed
packages/cubejs-client-core/test Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -221,11 +221,11 @@ describe('CubeApi with Abort Signal', () => {
221221 // Mock for this specific test
222222 const requestSpy = jest . spyOn ( HttpTransport . prototype , 'request' ) . mockImplementation ( ( ) => ( {
223223 subscribe : ( cb ) => Promise . resolve ( cb ( {
224- status : 200 ,
225- text : ( ) => Promise . resolve ( '{"results":[]}' ) ,
226- json : ( ) => Promise . resolve ( { results : [ ] } )
227- } as any ,
228- async ( ) => undefined as any ) )
224+ status : 200 ,
225+ text : ( ) => Promise . resolve ( '{"results":[]}' ) ,
226+ json : ( ) => Promise . resolve ( { results : [ ] } )
227+ } as any ,
228+ async ( ) => undefined as any ) )
229229 } ) ) ;
230230
231231 const cubeApi = new CubeApi ( 'token' , {
@@ -234,11 +234,11 @@ describe('CubeApi with Abort Signal', () => {
234234
235235 await cubeApi . load (
236236 { measures : [ 'Orders.count' ] } ,
237- { cache : " stale-if-slow" }
237+ { cache : ' stale-if-slow' }
238238 ) ;
239239
240240 expect ( requestSpy ) . toHaveBeenCalled ( ) ;
241- expect ( requestSpy . mock . calls [ 0 ] ?. [ 1 ] ?. cache ) . toBe ( " stale-if-slow" ) ;
241+ expect ( requestSpy . mock . calls [ 0 ] ?. [ 1 ] ?. cache ) . toBe ( ' stale-if-slow' ) ;
242242 } ) ;
243243
244244 test ( 'options signal should override constructor signal' , async ( ) => {
You can’t perform that action at this time.
0 commit comments