Skip to content

Latest commit

 

History

History
23 lines (16 loc) · 686 Bytes

API.md

File metadata and controls

23 lines (16 loc) · 686 Bytes

API Documentations

Object: nejMocha

const nejMocha = require('nej-mocha');

Method:

run(options: {
  config: string | ConfigurationObject
}, callback: (err: Error) => void);

Arguments:

Parameter Name Type Description Required
options.config String / ConfigurationObject The path to the config file or the config object true
callback Function The callback to run after the tests are done. You must explicitly exit the node process here. true