tape-dispenser
Tape with promise and generator function support. Forked from blue-tape, and all credit should go to spion and substack.
usage with promises
Same as tape, except if you return a promise from a test,
it will be checked for errors. If there are no errors, the test
will end. Otherwise the test will fail. This means there is no
need to use t.plan()
or t.end()
example
assuming delay()
returns a promise
; ;
Generators
If you're using a version of NodeJS that supports generator functions, you can test generators by passing a generator function as the tape callback function.
license
MIT