mocha-spec-reporter-with-file-names
TypeScript icon, indicating that this package has built-in type declarations

0.0.3 • Public • Published

mocha-spec-reporter-with-file-names

Modified version of the Mocha default built-in spec reporter but with file names included in the output.

Here's what the output looks like:

example output image

Usage

Config

// .mocharc.js

const SpecReporterWithFileNames = require('mocha-spec-reporter-with-file-names');

module.exports = {
    reporter: SpecReporterWithFileNames.pathToThisReporter,
};

Mocha config file docs.

CLI

npx mocha --reporter './node_modules/mocha-spec-reporter-with-file-names'

Mocha --reporter docs.

Package Sidebar

Install

npm i mocha-spec-reporter-with-file-names

Weekly Downloads

156

Version

0.0.3

License

MIT

Unpacked Size

479 kB

Total Files

6

Last publish

Collaborators

  • electrovir