Skip to content

sgerace/mocha-json-spec-reporter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A Spec JSON Reporter for Mocha

Options

There are multiple ways to set global options:

//on module using .option() method
require('mocha-json-spec-reporter').option('<option_name>', <option_value>);
//or on env with prefixed name
process.env['mocha-json-spec-<option_name>'] = <option_value>;
//env also work Bash-style: upper-cased and underscores instead of dashes
process.env['MOCHA_JSON_SPEC_<OPTION_NAME>'] = <option_value>;

These are equivalent:

process.env['MOCHA_JSON_SPEC_REPORTPENDING'] = true;
process.env['mocha-json-spec-reportPending'] = true;

require('mocha-json-spec-reporter').option('reportPending', true);
require('mocha-json-spec-reporter').option({reportPending: true});

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published