Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

mocha-spec-json-reporter

mackstar330.0.2

A mocha reporter to allow JSON output

mocha, JSON, spec, reporter, Should IT?, ci

readme

A Spec JSON Reporter for Mocha

Installation

sudo npm -g install mocha-spec-json-reporter

Usage

mocha -R mocha-spec-json-reporter

You will then get a neat file mocha-output.json containing specked output in a JSON format.