@reporters/mocha

1.0.2 • Public • Published

npm version tests codecov

Mocha reporters for node:test

Use this custom reporter to use mocha reporters with node:test. Both built-in and custom mocha reporters such as mochawesome are supported.

Installation

npm install --save-dev @reporters/mocha

or

yarn add --dev @reporters/mocha

Usage

Specify the desired mocha reporter inside the mocha configuration file, e.g. .mocharc.js:

module.exports = {
  reporter: 'nyan'
}

Then run the tests with node:test:

node --test --test-reporter=@reporters/mocha

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
1.0.2
27latest

Version History

VersionDownloads (Last 7 Days)Published
1.0.2
27
1.0.1
0
1.0.0
0

Package Sidebar

Install

npm i @reporters/mocha

Weekly Downloads

27

Version

1.0.2

License

MIT

Unpacked Size

7.42 kB

Total Files

3

Last publish

Collaborators

  • molow