Using with t.plan and t.end
olalonde opened this issue · 2 comments
olalonde commented
I was wondering if it was possible to use blue-tape with t.plan
and t.end
as not all my tests return promises. I've tried t.plan but getting an error:
not ok 2 plan != count
---
operator: fail
expected: 5
actual: 0
...
thom4parisot commented
Agreed, it would avoid wrapping tests in promises when testing a few async-non-promise methods.
spion commented
You only need plan for the non-promise tests.