t.end()
gives false success on async tests
#17
Labels
bug
current functionality does not work as desired
t.end()
gives false success on async tests
#17
This is kinda critical as it gives false success when you use
t.end()
in an async callback.See: sindresorhus/is-online#17 (comment)
Example this makes the tests pass, even though it's should have failed:
This works however:
The text was updated successfully, but these errors were encountered: