timed-tape
timed-tape extends tape so that each test prints the time taken.
API
Pass the tape
module into timed-tape
:
var tape =
This will return a tape instance that prints the time that each test took.
Example
var test = ; ; ;
Resulting output:
$ node mytest.jsTAP version 13# Check addition ok 1 one plus one is two# time: 17 ms # Check multiplication ok 2 one times one is one# time: 17 ms 1..2# tests 2 # pass 2 # ok