Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
SimenB committed Dec 5, 2020
1 parent 0709aa8 commit 6744804
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion e2e/fake-promises/immediate/__tests__/generator.test.js
Expand Up @@ -13,7 +13,7 @@ test('fake promises', () => {
someValue = 'foobar';
});

jest.runAllImmediates();
jest.runAllTimers();

expect(someValue).toBe('foobar');
});

0 comments on commit 6744804

Please sign in to comment.