mocha-reporter-json-standard

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

Usage no npm install needed!

<script type="module">
  import mochaReporterJsonStandard from 'https://cdn.skypack.dev/mocha-reporter-json-standard';
</script>

README

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