Skip to content

A legacy node module that still used in 2.x / ICE

License

Notifications You must be signed in to change notification settings

cocos-creator/tap-mocha-reporter-legacy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tap-mocha-reporter

Format a TAP stream using Mocha's set of reporters

USAGE

On the command line, pipe TAP in, and it'll do its thing.

tap test/*.js | tap-mocha-reporter

You can also specify a reporter with the first argument. The default is spec.

tap test/*.js | tap-mocha-reporter nyan

Programmatically, you can use this as a transform stream.

var TSR = require('tap-mocha-reporter')

fs.createReadStream('saved-test-output.tap')
  .pipe(TSR('dot'))