js-promise-library
js-promise-library copied to clipboard
Some tests need to verify that the callback is called
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.
I noticed this problem too. The better approach would be to use expect.assertions