Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More

mocha-reporter

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mocha-reporter

Mocha reporter, enhanced


Version published
Weekly downloads
135
increased by64.63%
Maintainers
3
Weekly downloads
 
Created

mocha-reporter

Mocha reporter, enhanced.

Features

Log captures

Log capture screenshot

Capture stdout and stderr, and pretty-prints it only on error or when the DEBUG environment variable is set (like in the example above). This allows you to still leverage logging within your tests, or even add test-specific logs.

Pretty errors

Pretty errors

Thrown or returned errors will look much prettier now.

espower-loader

It looks even better when combined with espower-loader!

Installation

npm install --save mocha-reporter

Usage

Under package.json:

{
  "scripts": {
    "test:unit": "mocha --reporter mocha-reporter"
  }
}

License

MIT

FAQs

Package last updated on 24 Apr 2017

Did you know?

Socket

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