const nejMocha = require('nej-mocha');
run(options: {
config: string | ConfigurationObject
}, callback: (err: Error) => void);
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 |