Skip to content

Commit e0ad591

Browse files
committed
run lint
1 parent 076f21a commit e0ad591

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

packages/cubejs-client-core/test/CubeApi.test.ts

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff 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 () => {

0 commit comments

Comments
 (0)