SYMBOL INDEX (440 symbols across 95 files) FILE: .wallaby.js method setup (line 35) | setup(wallaby) { FILE: bin/mocha.js constant SIGNAL_OFFSET (line 26) | const SIGNAL_OFFSET = 128; FILE: browser-entry.js function timeslice (line 96) | function timeslice() { FILE: docs/_data/supporters.cjs constant BLOCKED_STRINGS (line 27) | const BLOCKED_STRINGS = constant BLOCKED_CATEGORIES (line 33) | const BLOCKED_CATEGORIES = [ constant API_ENDPOINT (line 47) | const API_ENDPOINT = "https://api.opencollective.com/graphql/v2"; constant SPONSOR_TIER (line 49) | const SPONSOR_TIER = "sponsors"; constant BACKER_TIER (line 50) | const BACKER_TIER = "backers"; constant PRODUCTION_SUCCESS_THRESHOLD (line 53) | const PRODUCTION_SUCCESS_THRESHOLD = 0.9; constant SUPPORTER_IMAGE_PATH (line 55) | const SUPPORTER_IMAGE_PATH = resolve(__dirname, "../images/supporters"); constant SUPPORTER_QUERY (line 57) | const SUPPORTER_QUERY = `query account($limit: Int, $offset: Int, $slug:... constant GRAPHQL_PAGE_SIZE (line 82) | const GRAPHQL_PAGE_SIZE = 1000; FILE: karma.conf.js constant BASE_BUNDLE_DIR_PATH (line 28) | const BASE_BUNDLE_DIR_PATH = path.join(__dirname, ".karma"); constant BROWSER (line 31) | const BROWSER = env.BROWSER; FILE: lib/browser/highlight-tags.js function highlight (line 10) | function highlight(js) { FILE: lib/cli/options.js constant YARGS_PARSER_CONFIG (line 49) | const YARGS_PARSER_CONFIG = { FILE: lib/cli/run-option-metadata.js constant TYPES (line 15) | const TYPES = (exports.types = { constant ALL_MOCHA_FLAGS (line 97) | const ALL_MOCHA_FLAGS = Object.keys(TYPES).reduce((acc, key) => { FILE: lib/cli/run.js constant GROUPS (line 34) | const GROUPS = { FILE: lib/cli/watch-run.js method beforeRun (line 57) | beforeRun({ mocha }) { method beforeRun (line 117) | beforeRun({ mocha }) { function createPathFilter (line 165) | function createPathFilter(globPaths, basePath) { function matchPattern (line 263) | function matchPattern(filePath, pattern, matchParent) { function createPathMatcher (line 297) | function createPathMatcher(allowed, ignored, basePath) { FILE: lib/context.js function Context (line 21) | function Context() {} FILE: lib/errors.js constant MOCHA_ERRORS (line 69) | const MOCHA_ERRORS = new Set(Object.values(constants)); function createNoFilesMatchPatternError (line 80) | function createNoFilesMatchPatternError(message, pattern) { function createInvalidReporterError (line 95) | function createInvalidReporterError(message, reporter) { function createInvalidInterfaceError (line 111) | function createInvalidInterfaceError(message, ui) { function createUnsupportedError (line 126) | function createUnsupportedError(message) { function createMissingArgumentError (line 142) | function createMissingArgumentError(message, argument, expected) { function createInvalidArgumentTypeError (line 156) | function createInvalidArgumentTypeError(message, argument, expected) { function createInvalidArgumentValueError (line 176) | function createInvalidArgumentValueError(message, argument, value, reaso... function createInvalidExceptionError (line 193) | function createInvalidExceptionError(message, value) { function createFatalError (line 209) | function createFatalError(message, value) { function createInvalidLegacyPluginError (line 227) | function createInvalidLegacyPluginError(message, pluginType, pluginId) { function createInvalidPluginError (line 249) | function createInvalidPluginError(...args) { function createMochaInstanceAlreadyDisposedError (line 261) | function createMochaInstanceAlreadyDisposedError( function createMochaInstanceAlreadyRunningError (line 279) | function createMochaInstanceAlreadyRunningError(message, instance) { function createMultipleDoneError (line 295) | function createMultipleDoneError(runnable, originalErr) { function createForbiddenExclusivityError (line 332) | function createForbiddenExclusivityError(mocha) { function createInvalidPluginDefinitionError (line 356) | function createInvalidPluginDefinitionError(msg, pluginDef) { function createInvalidPluginImplementationError (line 373) | function createInvalidPluginImplementationError( function createTimeoutError (line 392) | function createTimeoutError(msg, timeout, file) { function createUnparsableFileError (line 407) | function createUnparsableFileError(message) { FILE: lib/hook.js class Hook (line 7) | class Hook extends Runnable { method constructor (line 15) | constructor(title, fn) { method reset (line 23) | reset() { method error (line 36) | error(err) { method serialize (line 52) | serialize() { FILE: lib/interfaces/common.js function shouldBeTested (line 35) | function shouldBeTested(suite) { FILE: lib/interfaces/exports.js function visit (line 27) | function visit(obj, file) { FILE: lib/mocha.js function Mocha (line 161) | function Mocha(options = {}) { FILE: lib/nodejs/buffered-worker-pool.js constant WORKER_PATH (line 22) | const WORKER_PATH = require.resolve("./worker.js"); constant WORKER_POOL_DEFAULT_OPTS (line 37) | const WORKER_POOL_DEFAULT_OPTS = { class BufferedWorkerPool (line 50) | class BufferedWorkerPool { method constructor (line 55) | constructor(opts = {}) { method terminate (line 110) | async terminate(force = false) { method run (line 126) | async run(filepath, options = {}) { method stats (line 146) | stats() { method create (line 154) | static create(...args) { method serializeOptions (line 166) | static serializeOptions(opts = {}) { method resetOptionsCache (line 189) | static resetOptionsCache() { FILE: lib/nodejs/esm-utils.js function dealWithExports (line 143) | function dealWithExports(module) { FILE: lib/nodejs/parallel-buffered-runner.js constant DEFAULT_WORKER_REPORTER (line 25) | const DEFAULT_WORKER_REPORTER = constant DENY_OPTIONS (line 31) | const DENY_OPTIONS = [ constant DEBUG_STATS_INTERVAL (line 59) | const DEBUG_STATS_INTERVAL = 5000; constant ABORTED (line 61) | const ABORTED = "ABORTED"; constant IDLE (line 62) | const IDLE = "IDLE"; constant ABORTING (line 63) | const ABORTING = "ABORTING"; constant RUNNING (line 64) | const RUNNING = "RUNNING"; constant BAILING (line 65) | const BAILING = "BAILING"; constant BAILED (line 66) | const BAILED = "BAILED"; constant COMPLETE (line 67) | const COMPLETE = "COMPLETE"; class ParallelBufferedRunner (line 84) | class ParallelBufferedRunner extends Runner { method constructor (line 85) | constructor(...args) { method _createFileRunner (line 118) | _createFileRunner(pool, options) { method _bindSigIntListener (line 240) | _bindSigIntListener(pool) { method run (line 281) | run(callback, { files, options = {} } = {}) { method linkPartialObjects (line 391) | linkPartialObjects(value) { method isParallelMode (line 403) | isParallelMode() { method workerReporter (line 416) | workerReporter(reporter) { FILE: lib/nodejs/reporters/parallel-buffered.js constant EVENT_NAMES (line 44) | const EVENT_NAMES = [ constant ONCE_EVENT_NAMES (line 61) | const ONCE_EVENT_NAMES = [EVENT_DELAY_BEGIN, EVENT_DELAY_END]; class ParallelBuffered (line 71) | class ParallelBuffered extends Base { method constructor (line 76) | constructor(runner, opts) { method createListener (line 109) | createListener(eventName) { method createListeners (line 127) | createListeners(runner) { method done (line 158) | done(failures, callback) { FILE: lib/nodejs/serializer.js constant SERIALIZABLE_RESULT_NAME (line 20) | const SERIALIZABLE_RESULT_NAME = "SerializableWorkerResult"; constant SERIALIZABLE_TYPES (line 21) | const SERIALIZABLE_TYPES = new Set(["object", "array", "function", "erro... class SerializableWorkerResult (line 27) | class SerializableWorkerResult { method constructor (line 37) | constructor(events = [], failureCount = 0) { method create (line 66) | static create(...args) { method serialize (line 75) | serialize() { method deserialize (line 89) | static deserialize(obj) { method isSerializedWorkerResult (line 102) | static isSerializedWorkerResult(value) { class SerializableEvent (line 121) | class SerializableEvent { method constructor (line 137) | constructor(eventName, originalValue, originalError) { method create (line 186) | static create(...args) { method _serialize (line 197) | static _serialize(pairs, parent, key) { method serialize (line 252) | serialize() { method _deserializeError (line 295) | static _deserializeError(value) { method _deserializeObject (line 309) | static _deserializeObject(parent, key) { method deserialize (line 346) | static deserialize(obj) { FILE: lib/nodejs/worker.js function run (line 66) | async function run(filepath, serializedOptions = "{}") { FILE: lib/pending.js class PendingError (line 12) | class PendingError extends Error { method constructor (line 13) | constructor(message) { FILE: lib/plugin-loader.js method validate (line 40) | validate(value) { method finalize (line 50) | async finalize(rootHooks) { method validate (line 86) | validate(value) { method validate (line 110) | validate(value) { class PluginLoader (line 136) | class PluginLoader { method constructor (line 141) | constructor({ pluginDefs = MochaPlugins, ignore = [] } = {}) { method register (line 187) | register(pluginDef) { method load (line 229) | load(requiredModule) { method finalize (line 261) | async finalize() { method create (line 282) | static create({ pluginDefs = MochaPlugins, ignore = [] } = {}) { FILE: lib/reporters/base.js function getBrowserWindowSize (line 26) | function getBrowserWindowSize() { class Base (line 50) | class Base { method constructor (line 59) | constructor(runner, options) { method epilogue (line 105) | epilogue() { function stringifyDiffObjs (line 278) | function stringifyDiffObjs(err) { function pad (line 452) | function pad(str, len) { function inlineDiff (line 465) | function inlineDiff(actual, expected) { function unifiedDiff (line 502) | function unifiedDiff(actual, expected) { function errorDiff (line 542) | function errorDiff(actual, expected) { function colorLines (line 565) | function colorLines(name, str) { function sameType (line 587) | function sameType(a, b) { FILE: lib/reporters/doc.js class Doc (line 22) | class Doc extends Base { method constructor (line 34) | constructor(runner, options) { FILE: lib/reporters/dot.js class Dot (line 22) | class Dot extends Base { method constructor (line 34) | constructor(runner, options) { FILE: lib/reporters/html.js class HTML (line 46) | class HTML extends Base { method constructor (line 58) | constructor(runner, options) { method suiteURL (line 286) | suiteURL(suite) { method testURL (line 295) | testURL(test) { method addCodeToggle (line 305) | addCodeToggle(el, contents) { function makeUrl (line 324) | function makeUrl(s) { function error (line 347) | function error(msg) { function fragment (line 356) | function fragment(html) { function hideSuitesWithout (line 380) | function hideSuitesWithout(classname) { function unhide (line 393) | function unhide() { function text (line 406) | function text(el, contents) { function on (line 417) | function on(el, event, fn) { FILE: lib/reporters/json-stream.js class JSONStream (line 22) | class JSONStream extends Base { method constructor (line 34) | constructor(runner, options) { function writeEvent (line 67) | function writeEvent(event) { function clean (line 79) | function clean(test) { FILE: lib/reporters/json.js class JSONReporter (line 26) | class JSONReporter extends Base { method constructor (line 38) | constructor(runner, options = {}) { function clean (line 108) | function clean(test) { function cleanCycles (line 132) | function cleanCycles(obj) { function errorJSON (line 156) | function errorJSON(err) { FILE: lib/reporters/landing.js class Landing (line 42) | class Landing extends Base { method constructor (line 54) | constructor(runner, options) { FILE: lib/reporters/list.js class List (line 25) | class List extends Base { method constructor (line 37) | constructor(runner, options) { FILE: lib/reporters/markdown.js class Markdown (line 28) | class Markdown extends Base { method constructor (line 40) | constructor(runner, options) { FILE: lib/reporters/min.js class Min (line 19) | class Min extends Base { method constructor (line 34) | constructor(runner, options) { FILE: lib/reporters/nyan.js class NyanCat (line 22) | class NyanCat extends Base { method constructor (line 34) | constructor(runner, options) { method draw (line 81) | draw() { method drawScoreboard (line 96) | drawScoreboard() { method appendRainbow (line 119) | appendRainbow() { method drawRainbow (line 138) | drawRainbow() { method drawNyanCat (line 155) | drawNyanCat() { method face (line 191) | face() { method cursorUp (line 210) | cursorUp(n) { method cursorDown (line 221) | cursorDown(n) { method generateColors (line 231) | generateColors() { method rainbowify (line 253) | rainbowify(str) { FILE: lib/reporters/progress.js class Progress (line 28) | class Progress extends Base { method constructor (line 40) | constructor(runner, options) { FILE: lib/reporters/spec.js class Spec (line 26) | class Spec extends Base { method constructor (line 38) | constructor(runner, options) { FILE: lib/reporters/tap.js class TAP (line 26) | class TAP extends Base { method constructor (line 38) | constructor(runner, options) { function title (line 86) | function title(test) { function println (line 97) | function println() { function createProducer (line 111) | function createProducer(tapVersion) { class TAPProducer (line 137) | class TAPProducer { method writeVersion (line 143) | writeVersion() {} method writePlan (line 151) | writePlan(ntests) { method writePass (line 162) | writePass(n, test) { method writePending (line 173) | writePending(n, test) { method writeFail (line 184) | writeFail(n, test) { method writeEpilogue (line 194) | writeEpilogue(stats) { class TAP12Producer (line 213) | class TAP12Producer extends TAPProducer { method writeFail (line 218) | writeFail(n, test, err) { class TAP13Producer (line 241) | class TAP13Producer extends TAPProducer { method writeVersion (line 246) | writeVersion() { method writeFail (line 254) | writeFail(n, test, err) { function indent (line 272) | function indent(level) { FILE: lib/reporters/xunit.js class XUnit (line 34) | class XUnit extends Base { method constructor (line 46) | constructor(runner, options) { method done (line 121) | done(failures, fn) { method write (line 136) | write(line) { method test (line 151) | test(test, options) { function tag (line 197) | function tag(name, attrs, close, content) { function testFilePath (line 215) | function testFilePath(filepath, options) { FILE: lib/runnable.js class Runnable (line 25) | class Runnable extends EventEmitter { method constructor (line 36) | constructor(title, fn) { method reset (line 58) | reset() { method timeout (line 87) | timeout(ms) { method slow (line 120) | slow(ms) { method skip (line 138) | skip() { method isPending (line 148) | isPending() { method isFailed (line 157) | isFailed() { method isPassed (line 166) | isPassed() { method retries (line 175) | retries(n) { method currentRetry (line 187) | currentRetry(n) { method fullTitle (line 202) | fullTitle() { method titlePath (line 213) | titlePath() { method clearTimeout (line 222) | clearTimeout() { method resetTimeout (line 231) | resetTimeout() { method globals (line 251) | globals(globals) { method run (line 264) | run(fn) { method _timeoutError (line 424) | _timeoutError(ms) { method toValueOrError (line 464) | static toValueOrError(value) { FILE: lib/runner.js class Runner (line 172) | class Runner extends EventEmitter { method constructor (line 187) | constructor(suite, opts = {}) { function createHookSkipError (line 453) | function createHookSkipError(hookTitle, hookError) { function failTestsInSuite (line 494) | function failTestsInSuite(s) { function next (line 592) | function next(i) { function next (line 719) | function next(suite) { function hookErr (line 827) | function hookErr(err, errSuite, after) { function next (line 879) | function next(err, errSuite) { function next (line 1024) | function next(errSuite) { function done (line 1058) | function done(errSuite) { function filterLeaks (line 1353) | function filterLeaks(ok, globals) { function isError (line 1396) | function isError(err) { function thrown2Error (line 1408) | function thrown2Error(err) { FILE: lib/stats-collector.js function createStatsCollector (line 31) | function createStatsCollector(runner) { FILE: lib/suite.js class Suite (line 27) | class Suite extends EventEmitter { method create (line 108) | static create(parent, title) { method constructor (line 125) | constructor(title, parentContext, isRoot) { method reset (line 168) | reset() { method clone (line 187) | clone() { method timeout (line 207) | timeout(ms) { method retries (line 242) | retries(n) { method slow (line 258) | slow(ms) { method bail (line 277) | bail(bail) { method isPending (line 291) | isPending() { method _createHook (line 302) | _createHook(title, fn) { method beforeAll (line 321) | beforeAll(title, fn) { method afterAll (line 345) | afterAll(title, fn) { method beforeEach (line 369) | beforeEach(title, fn) { method afterEach (line 393) | afterEach(title, fn) { method addSuite (line 416) | addSuite(suite) { method addTest (line 435) | addTest(test) { method fullTitle (line 454) | fullTitle() { method titlePath (line 466) | titlePath() { method total (line 484) | total() { method eachTest (line 500) | eachTest(fn) { method run (line 512) | run() { method hasOnly (line 524) | hasOnly() { method filterOnly (line 540) | filterOnly() { method appendOnlySuite (line 571) | appendOnlySuite(suite) { method markOnly (line 580) | markOnly() { method appendOnlyTest (line 590) | appendOnlyTest(test) { method getHooks (line 598) | getHooks(name) { method dispose (line 605) | dispose() { method cleanReferences (line 622) | cleanReferences() { method serialize (line 656) | serialize() { FILE: lib/test.js class Test (line 10) | class Test extends Runnable { method constructor (line 19) | constructor(title, fn) { method reset (line 37) | reset() { method retriedTest (line 48) | retriedTest(n) { method markOnly (line 60) | markOnly() { method clone (line 64) | clone() { method serialize (line 84) | serialize() { FILE: lib/types.d.ts type MochaOptions (line 18) | interface MochaOptions { type DoneCB (line 124) | type DoneCB = (failures?: number) => void; type RunnerOptions (line 126) | interface RunnerOptions { type MochaRootHookObject (line 136) | interface MochaRootHookObject { type MochaGlobalFixture (line 151) | type MochaGlobalFixture = () => void | Promise; type PluginDefinition (line 156) | interface PluginDefinition { type PluginValidator (line 183) | type PluginValidator = (this: PluginDefinition, value: unknown) => void; type PluginFinalizer (line 189) | type PluginFinalizer = ( type FileCollectionOptions (line 196) | interface FileCollectionOptions { type UnmatchedFile (line 214) | interface UnmatchedFile { type FileCollectionResponse (line 224) | interface FileCollectionResponse { type BeforeWatchRunOptions (line 234) | interface BeforeWatchRunOptions { type BeforeWatchRun (line 244) | type BeforeWatchRun = (options: BeforeWatchRunOptions) => Mocha; type Rerunner (line 250) | interface Rerunner { type PathPattern (line 261) | interface PathPattern { type PathFilter (line 272) | interface PathFilter { type AllowMatchFunction (line 285) | type AllowMatchFunction = (filePath: string) => boolean; type PathMatcher (line 291) | interface PathMatcher { type StatsCollector (line 298) | interface StatsCollector { type PluginLoaderOptions (line 324) | interface PluginLoaderOptions { type MochaTimeoutError (line 339) | interface MochaTimeoutError extends Error { type SerializedEvent (line 358) | interface SerializedEvent { type SerializedWorkerResult (line 371) | interface SerializedWorkerResult { type SigIntListener (line 386) | type SigIntListener = () => Promise; type FileRunner (line 393) | type FileRunner = (filename: string) => Promise; type BufferedEvent (line 400) | interface BufferedEvent { type FullErrorStack (line 412) | interface FullErrorStack { type Reporter (line 418) | interface Reporter { FILE: lib/utils.js constant MOCHA_ID_PROP_NAME (line 16) | const MOCHA_ID_PROP_NAME = "__mocha_id__"; function emptyRepresentation (line 97) | function emptyRepresentation(value, typeHint) { function jsonStringify (line 254) | function jsonStringify(object, spaces, depth) { function withStack (line 359) | function withStack(value, fn) { function isMochaInternal (line 447) | function isMochaInternal(line) { function isNodeInternal (line 455) | function isNodeInternal(line) { method get (line 634) | get() { function _breakCircularDeps (line 658) | function _breakCircularDeps(obj) { FILE: scripts/karma-rollup-plugin.js function framework (line 47) | function framework(fileConfigs, pluginConfig, basePath, preprocessors) { function bundlePreprocessor (line 111) | function bundlePreprocessor(config) { FILE: scripts/pick-from-package-json.mjs function pickFromPackageJson (line 10) | function pickFromPackageJson({ keys }) { FILE: test/assertions.js method installInto (line 9) | installInto(expect) { FILE: test/compiler-esm/test-tla.ts type Foo (line 2) | enum Foo { FILE: test/compiler-esm/test.ts type Foo (line 2) | enum Foo { FILE: test/compiler-fixtures/esm-loader.fixture.mjs function load (line 4) | async function load(url, context, nextLoad) { FILE: test/compiler-fixtures/esm-only-loader/esm-loader.fixture.mjs function load (line 4) | async function load(url, context, nextLoad) { FILE: test/integration/compiler-esm-only-loader.spec.js function loadAndExpect (line 13) | function loadAndExpect(filename, done) { FILE: test/integration/compiler-esm.spec.js function loadAndExpect (line 12) | function loadAndExpect(filename, done) { FILE: test/integration/config.spec.js function _loadConfig (line 32) | function _loadConfig() { function _loadConfig (line 44) | function _loadConfig() { function _loadConfig (line 53) | function _loadConfig() { function _loadConfig (line 65) | function _loadConfig() { function _loadConfig (line 105) | function _loadConfig() { FILE: test/integration/diffs.spec.js function getDiffs (line 15) | function getDiffs(output) { function getExpectedOutput (line 54) | function getExpectedOutput() { FILE: test/integration/file-utils.spec.js constant SYMLINK_SUPPORT (line 8) | const SYMLINK_SUPPORT = process.platform !== "win32"; FILE: test/integration/fixtures/current-test-title.fixture.js function getTitle (line 4) | function getTitle(ctx) { FILE: test/integration/fixtures/esm/add.mjs function add (line 1) | function add(a, b) { FILE: test/integration/fixtures/esm/js-folder/add.js function add (line 1) | function add(a, b) { FILE: test/integration/fixtures/esm/loader-with-module-not-found/loader-that-recognizes-ts.mjs function resolve (line 10) | async function resolve(specifier, context, defaultResolve) { FILE: test/integration/fixtures/options/reporter-esm.fixture.mjs function SimplerReporter (line 1) | function SimplerReporter(runner, options) { FILE: test/integration/fixtures/options/reporter-with-options.fixture.js function ReporterWithOptions (line 3) | function ReporterWithOptions(runner, options) { FILE: test/integration/fixtures/parallel/getter-error-object.mjs method inner (line 8) | get inner() { FILE: test/integration/fixtures/plugins/root-hooks/esm/root-hook-defs-esm.fixture.js method beforeEach (line 2) | beforeEach() { method afterEach (line 5) | afterEach() { FILE: test/integration/fixtures/plugins/root-hooks/root-hook-defs-a.fixture.js method beforeAll (line 4) | beforeAll() { method beforeEach (line 7) | beforeEach() { method afterAll (line 10) | afterAll() { method afterEach (line 13) | afterEach() { FILE: test/integration/fixtures/plugins/root-hooks/root-hook-defs-c.fixture.js method beforeAll (line 4) | beforeAll() { method beforeEach (line 7) | beforeEach() { method afterAll (line 10) | afterAll() { method afterEach (line 13) | afterEach() { FILE: test/integration/fixtures/plugins/root-hooks/root-hook-defs-esm-broken.fixture.js method beforeAll (line 2) | beforeAll() { method afterAll (line 5) | afterAll() { FILE: test/integration/fixtures/plugins/root-hooks/root-hook-defs-esm.fixture.mjs method beforeAll (line 2) | beforeAll() { method afterAll (line 5) | afterAll() { FILE: test/integration/fixtures/regression/issue-1991.fixture.js function MemoryLeak (line 5) | function MemoryLeak () { FILE: test/integration/fixtures/simple-reporter.js class MyReporter (line 14) | class MyReporter { method constructor (line 15) | constructor(runner) { method indent (line 44) | indent() { method increaseIndent (line 48) | increaseIndent() { method decreaseIndent (line 52) | decreaseIndent() { FILE: test/integration/fixtures/simple-ui.fixture.mjs constant EVENT_FILE_PRE_REQUIRE (line 5) | const EVENT_FILE_PRE_REQUIRE = Mocha.Suite.constants.EVENT_FILE_PRE_REQU... function SimpleUI (line 10) | function SimpleUI(suite) { FILE: test/integration/fixtures/timeout.fixture.js function sleep (line 15) | function sleep (ms) { FILE: test/integration/glob.spec.js function execMochaWith (line 190) | function execMochaWith(validate) { FILE: test/integration/helpers.js constant SIGNAL_OFFSET (line 11) | const SIGNAL_OFFSET = 128; constant MOCHA_EXECUTABLE (line 16) | const MOCHA_EXECUTABLE = require.resolve("../../bin/mocha"); constant SPLIT_DOT_REPORTER_REGEXP (line 21) | const SPLIT_DOT_REPORTER_REGEXP = new RegExp("[\\n" + Base.symbols.dot +... constant DEFAULT_FIXTURE (line 26) | const DEFAULT_FIXTURE = "__default__"; constant DEFAULT_FIXTURE_PATH (line 31) | const DEFAULT_FIXTURE_PATH = resolveFixturePath(DEFAULT_FIXTURE); function runMocha (line 57) | function runMocha(fixturePath, args, done, opts = {}) { function runMochaJSON (line 92) | function runMochaJSON(fixturePath, args, done, opts) { function runMochaAsync (line 136) | function runMochaAsync(fixturePath, args, opts) { function runMochaJSONAsync (line 159) | function runMochaJSONAsync(fixturePath, args = [], opts = {}) { function toJSONResult (line 181) | function toJSONResult(result) { function defaultArgs (line 207) | function defaultArgs(args = [DEFAULT_FIXTURE_PATH]) { function invokeMocha (line 232) | function invokeMocha(args, done, opts = {}) { function invokeMochaAsync (line 258) | function invokeMochaAsync(args, opts = {}) { function invokeNode (line 286) | function invokeNode(args, done, opts = {}) { function createSubprocess (line 306) | function createSubprocess(args, done, opts = {}) { function resolveFixturePath (line 384) | function resolveFixturePath(fixture) { function getSummary (line 402) | function getSummary(res) { function runMochaWatchAsync (line 429) | async function runMochaWatchAsync(args, opts, change) { function runMochaWatchJSONAsync (line 480) | async function runMochaWatchJSONAsync(args, opts, change) { function touchFile (line 504) | function touchFile(filepath) { function replaceFileContents (line 522) | function replaceFileContents(filepath, pattern, replacement) { function copyFixture (line 535) | function copyFixture(fixtureName, dest) { function sleep (line 562) | function sleep(time) { FILE: test/integration/hook-err.spec.js function run (line 357) | function run(fnPath, outputFilter) { function onlyConsoleOutput (line 372) | function onlyConsoleOutput() { function onlyErrorTitle (line 382) | function onlyErrorTitle() { FILE: test/integration/options/exit.spec.js function killSubprocess (line 14) | function killSubprocess() { FILE: test/integration/options/ignore.spec.js function runMochaTest (line 18) | function runMochaTest(fixture, args, handleResult, done) { FILE: test/integration/options/parallel.spec.js constant REPORTER_FIXTURE_PATH (line 11) | const REPORTER_FIXTURE_PATH = resolveFixturePath("options/parallel/test-... function getChildPids (line 20) | async function getChildPids(pid) { function checkProcessExists (line 36) | async function checkProcessExists(pid) { function compareReporters (line 46) | async function compareReporters(reporter) { function assertReporterOutputEquality (line 70) | async function assertReporterOutputEquality(reporter) { function waitForChildPids (line 86) | async function waitForChildPids(pid) { FILE: test/integration/options/posixExitCodes.spec.js constant EXIT_FAILURE (line 7) | const EXIT_FAILURE = 1; constant SIGNAL_OFFSET (line 8) | const SIGNAL_OFFSET = 128; FILE: test/integration/options/watch.spec.js function setupHookTest (line 504) | function setupHookTest(hookName) { FILE: test/integration/plugins/root-hooks.spec.js function extractHookOutputFromResult (line 12) | function extractHookOutputFromResult(res) { function runMochaForHookOutput (line 29) | function runMochaForHookOutput(args, opts) { function isNewerVersion (line 131) | function isNewerVersion(vString) { FILE: test/node-unit/fixtures/mock-ts-node-compile-err.ts class TSError (line 6) | class TSError extends Error { method constructor (line 7) | constructor(...args) { FILE: test/node-unit/mocha.spec.js constant DUMB_FIXTURE_PATH (line 8) | const DUMB_FIXTURE_PATH = require.resolve("./fixtures/dumb-module.fixtur... constant DUMBER_FIXTURE_PATH (line 9) | const DUMBER_FIXTURE_PATH = FILE: test/node-unit/worker.spec.js constant WORKER_PATH (line 8) | const WORKER_PATH = require.resolve("../../lib/nodejs/worker.js"); FILE: test/reporters/base.spec.js function list (line 20) | function list(tests) { function generateDiff (line 28) | function generateDiff(actual, expected) { FILE: test/reporters/helpers.js function createMockRunner (line 20) | function createMockRunner(runStr, ifStr1, ifStr2, ifStr3, arg1, arg2) { function afterTick (line 37) | function afterTick(callback) { function createRunnerFunction (line 59) | function createRunnerFunction(runStr, ifStr1, ifStr2, ifStr3, arg1, arg2) { function makeTest (line 154) | function makeTest(err) { function createElements (line 163) | function createElements(argObj) { function makeExpectedTest (line 171) | function makeExpectedTest( function createRunReporterFunction (line 198) | function createRunReporterFunction(ReporterClass) { FILE: test/reporters/json.spec.js function CircleError (line 121) | function CircleError() { FILE: test/reporters/tap.spec.js function createTest (line 24) | function createTest() { FILE: test/unit/grep.spec.js function testGrep (line 27) | function testGrep(mocha) { FILE: test/unit/plugin-loader.spec.js function a (line 389) | function a() {} function b (line 390) | function b() {} function d (line 391) | function d() {} function g (line 392) | function g() {} function f (line 393) | async function f() {} function c (line 394) | function c() { function e (line 400) | async function e() { FILE: test/unit/runnable.spec.js function fail (line 275) | function fail() { function fail (line 411) | function fail() { FILE: test/unit/runner.spec.js function assertHookTitle (line 262) | function assertHookTitle() { function genOverlongSingleLineMessage (line 694) | function genOverlongSingleLineMessage() { function genOverlongMultiLineMessage (line 705) | function genOverlongMultiLineMessage() { function fail (line 828) | function fail() { function throwError (line 846) | function throwError() { function throwError (line 867) | function throwError() { function throwError (line 891) | function throwError() { FILE: test/unit/suite.spec.js function supportsFunctionNames (line 8) | function supportsFunctionNames() { function namedFn (line 189) | function namedFn() {} function namedFn (line 228) | function namedFn() {} function namedFn (line 270) | function namedFn() {} function namedFn (line 321) | function namedFn() {} function fn (line 490) | function fn() { function fn (line 504) | function fn() { function fn (line 520) | function fn() {