Socket
Socket
Sign inDemoInstall

tap-mocha-reporter

Package Overview
Dependencies
24
Maintainers
1
Versions
44
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    tap-mocha-reporter

Format a TAP stream using Mocha's set of reporters


Version published
Maintainers
1
Install size
1.25 MB
Created

Readme

Source

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'))

FAQs

Last updated on 26 Sep 2023

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc