tape-expect
Tape + Expect.js
Features
You can now use expect.js
with tape
.
- accurate error stack-traces & reporting
- all
expect
goodness available intotape
Install
$ npm i tape-expect --save
Usage
Instead of doing require('tape')
you just have to do require('tape-expect')
// var test = require('tape');var test = ;// now use as usual
Misc
The main challenge was getting error stack traces show the correct place where the error occured, and not point to code from tape-expect