-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Closed
Labels
area: node.jscommand-line-or-Node.js-specificcommand-line-or-Node.js-specifictype: buga defect, confirmed by a maintainera defect, confirmed by a maintainer
Description
Prerequisites
- Checked that your issue hasn't already been filed by cross-referencing issues with the
faqlabel - Checked next-gen ES issues and syntax problems by using the same environment and/or transpiler configuration without Mocha to ensure it isn't just a feature that actually isn't supported in the environment in question or a bug in your code.
- 'Smoke tested' the code to be tested by running it outside the real test suite to get a better sense of whether the problem is in the code under test, your usage of Mocha, or Mocha itself
- Ensured that there is no discrepancy between the locally and globally installed versions of Mocha. You can find them with:
node node_modules/.bin/mocha --version(Local) andmocha --version(Global). We recommend that you not install Mocha globally.
Description
Executing of mocha --inspect --max-old-space-size=4096 results in the cli responding with a bad option error.
Steps to Reproduce
See description.
Expected behavior: [What you expect to happen]
Should not result in bad option.
Actual behavior: [What actually happens]
Results in bad option.
Reproduces how often: [What percentage of the time does it reproduce?]
100%
Versions
- The output of
mocha --versionandnode node_modules/.bin/mocha --version: 6.0.2 - The output of
node --version: v10.15.3 - Your operating system
- name and version: Ubuntu 18.04 LTS
- architecture (32 or 64-bit): 64bit
- Your shell (e.g., bash, zsh, PowerShell, cmd): bash
- Your browser and version (if running browser tests):
- Any third-party Mocha-related modules (and their versions):
- Any code transpiler (e.g., TypeScript, CoffeeScript, Babel) being used (and its version): none
Metadata
Metadata
Assignees
Labels
area: node.jscommand-line-or-Node.js-specificcommand-line-or-Node.js-specifictype: buga defect, confirmed by a maintainera defect, confirmed by a maintainer