js-promise-library icon indicating copy to clipboard operation
js-promise-library copied to clipboard

Results 3 js-promise-library issues
Sort by recently updated
recently updated
newest added

Since the assertion is in the then/catch/finally callback, the test passes if it's not called. I suggest creating a mock to validate the function is called.

Test case 1 ```ts const waitP = new MyPromise(r => setTimeout(r, 2000)); const arr = [waitP]; MyPromise.all(arr).then(() => console.log('I am finished'), () => console.log('I failed')); arr.push(0); // Observe this never...