1.0.0 • Published 4 years ago

mocha-reporter-json-standard v1.0.0

Weekly downloads
18
License
MIT
Repository
github
Last release
4 years ago

mocha-reporter-json-standard

Report Mocha test runner output to a standardized CI tooling output JSON format

Description

Report Mocha test runner output to a standardized CI tooling output JSON format.

This package is part of the series of packages for reporting tooling output in a standardized JSON format for use with the ci-checks-action Github action.

The other packages include:

Install

npm install --save mocha-reporter-json-standard

Usage

mocha dist/*.test.js --reporter mocha-reporter-json-standard >| test-report.json

This will test all *.test.js files in the /dist folder and output the results file test-report.json