Fix promise test

pull/1211/head
Mikunj 5 years ago
parent 2d5230715f
commit 2ff177d814

@ -69,8 +69,8 @@ describe('Promise Utils', () => {
it('will recur according to interval option', async () => { it('will recur according to interval option', async () => {
const expectedRecurrences = 4; const expectedRecurrences = 4;
const timeout = 1000; const timeout = 3000;
const interval = timeout / expectedRecurrences; const interval = 50;
const recurrenceSpy = sandbox.spy(); const recurrenceSpy = sandbox.spy();
const task = (done: any) => { const task = (done: any) => {

Loading…
Cancel
Save