Crash or issue warnings on invalid config parameters
See original GitHub issueBy mistake I’ve setup a configuration in package.json
as:
"mocha": {
"-R": "tests/mocha-reporter"
}
Mocha didn’t say the word, and ignored an invalid option (it should be R
instead of -R
).
It’ll be great if Mocha produces some feedback on such errors, so they do not come unnoticed.
Node.js v12.3.1 Mocha: v6.1.4
Issue Analytics
- State:
- Created 4 years ago
- Comments:14 (10 by maintainers)
Top Results From Across the Web
Stop error or blue screen error troubleshooting - Windows Client
Learn advanced options for troubleshooting stop errors, also known as blue screen errors or bug check errors.
Read more >Troubleshooting your configuration - Home Assistant
Problems with the configuration. One of the most common problems with Home Assistant is an invalid configuration.yaml or other configuration file.
Read more >Detect and diagnose crashes - Android Developers
An Android app crashes whenever there's an unexpected exit caused by an unhandled exception or signal. An app that is written using Java...
Read more >Troubleshooting CI/CD - GitLab Docs
GitLab provides several tools to help make troubleshooting your pipelines easier. This guide also lists common issues and possible solutions.
Read more >Server Crash Reporter - Tableau Help
Important: Do not enable crash reporting if your data is subject to privacy regulations. If Tableau Server has a problem that results in...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Actually, that’s incorrect as well (and likely only working due to happy accident). It should be “reporter”, not “R”.
See example config for valid names.
Sorry, I forgot about this. I’ve joined.
EDIT: If I’m offline by the time you read this, please send me an e-mail. That’s always the best way to get hold of me, since I don’t use any social media. =)