Cleanly abort execution.
Check for global variable leaks.
Fail the given test.
Fail the given hook with err.
Hook failures work in the following pattern:
before hook skips all tests in a suite and subsuites,
but jumps to corresponding after hookbefore each hook skips remaining tests in a
suite and jumps to corresponding after each hook,
which is run only onceafter hook does not alter
execution orderafter each hook skips remaining tests in a
suite and subsuites, but executes other after each
hooksReturn a list of global properties.
Gets the allowed globals.
Allow the given arr of globals.
Run tests with full titles matching re. Updates runner.total
with number of tests matched.
Run hook name callbacks and then invoke fn().
Run hooks from the bottom up.
Run hooks from the top level down.
Return an array of parent Suites from closest to furthest.
Run the root suite and invoke fn(failures) on completion.
Run the current test and callback fn(err).
Handle uncaught exceptions.
Wrapper for setImmediate, process.nextTick, or browser polyfill.
Generated using TypeDoc
Initialize a
Runnerfor the givensuite.https://mochajs.org/api/Mocha.Runner.html