Skip to content

Commit

Permalink
chore: fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
ovr committed Nov 13, 2023
1 parent 674bcca commit 61c1a41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/cubejs-backend-shared/test/promises.test.ts
Original file line number Diff line number Diff line change
@@ -494,7 +494,7 @@ describe('asyncMemoizeBackground', () => {

// Wait for promises running in the non-async timer callback to complete.
// From https://stackoverflow.com/a/58716087/308237
const flushPromises = () => new Promise(resolve => setImmediate(resolve));
const flushPromises = () => new Promise(jest.requireActual('timers').setImmediate);

test('asyncMemoizeBackground cache', async () => {
let called = 0;

0 comments on commit 61c1a41

Please sign in to comment.