{"record":{"id":"86c97332a836c372","repo":"mochajs/mocha","slug":"err-mocha-unsupported-86c973","errorCode":"ERR_MOCHA_UNSUPPORTED","errorMessage":"workerReporter() not supported in serial mode","messagePattern":"workerReporter\\(\\) not supported in serial mode","errorType":"exception","errorClass":"UnsupportedError","httpStatus":null,"severity":"error","filePath":"lib/runner.cjs","lineNumber":1342,"sourceCode":" * @public\n * @returns {false}\n */\nRunner.prototype.isParallelMode = function isParallelMode() {\n  return false;\n};\n\n/**\n * Configures an alternate reporter for worker processes to use. Subclasses\n * using worker processes should implement this.\n * @public\n * @param {string} path - Absolute path to alternate reporter for worker processes to use\n * @returns {Runner}\n * @throws When in serial mode\n * @chainable\n * @abstract\n */\nRunner.prototype.workerReporter = function () {\n  throw createUnsupportedError(\"workerReporter() not supported in serial mode\");\n};\n\n/**\n * Filter leaks with the given globals flagged as `ok`.\n *\n * @private\n * @param {Array} ok\n * @param {Array} globals\n * @return {Array}\n */\nfunction filterLeaks(ok, globals) {\n  return globals.filter(function (key) {\n    // Firefox and Chrome exposes iframes as index inside the window object\n    if (/^\\d+/.test(key)) {\n      return false;\n    }\n\n    // in firefox","sourceCodeStart":1324,"sourceCodeEnd":1360,"githubUrl":"https://github.com/mochajs/mocha/blob/6bcbee4fd9a95351cedf0fdcb14c7d696486bc5a/lib/runner.cjs#L1324-L1360","documentation":"Error \"workerReporter() not supported in serial mode\" thrown in mochajs/mocha.","triggerScenarios":"Thrown at lib/runner.cjs:1342 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"6bcbee4fd9a95351cedf0fdcb14c7d696486bc5a","analyzedAt":"2026-09-01T03:41:47.182Z","contentChangedAt":null,"schemaVersion":2},"datasetVersion":"2026-09-08T10:18:20.063Z"}