Absolute path to the Mocha CLI script.
Runs the Mocha CLI with the provided arguments.
Array of CLI arguments.
Use --experimental-modules
.
Extra options for the spawned process.
Promise for the execution result.
Returns the command line arguments equivalent to this task
Mocha options
Command line arguments
Builds command line arguments for Mocha.
Controls the generated arguments.
The corresponding list of command line arguments.
Resolve locations of the Mocha spec files.
Base directory to resolve the patterns.
Minimatch pattern for the spec files.
Resolved locations.
Runs Mocha BDD tests with the provided options.
Promise resolved once the tests end. If Mocha ends with a non-zero exit code, the promise is rejected with
the TestError
error.
Generated using TypeDoc
Helpers to run Mocha.