`mocha --watch` breaks the parser
See original GitHub issuethis is very strange, but when I’m running mocha
everything works fine, however when using mocha --watch
only the first run will succeed, after then the parser will always return []
.
Is this a known Issue? I can try to build a minimal example if it will help.
Issue Analytics
- State:
- Created 6 years ago
- Comments:14 (11 by maintainers)
Top Results From Across the Web
mocha --watch doesn't work with v6.0.0 · Issue #3748 - GitHub
I am working on a mac book pro. I pushed branch up to show the issue. npm run test:watch-mocha. if you downgrade to...
Read more >Mocha - the fun, simple, flexible JavaScript test framework
simple, flexible, fun. Mocha is a feature-rich JavaScript test framework running on Node.js and in the browser, making asynchronous testing simple and fun....
Read more >mochajs/mocha - test - Gitter
test/integration/mocha.watch.opts ... I was looking at this because I'm parsing the output JSON report, however when a test fails with the framework I''m ......
Read more >How to unit test a tool that uses command-line-args
You should break your tool into a core part that takes in a configuration object and a command-line wrapper that uses that core...
Read more >Learning JavaScript Testing Quickly with Mocha, Chai, and ...
js default assert() syntax with expect().to.be , and lots of chain-able options. Sinon - A library that provides spies that “watch” functions ...
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 FreeTop 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
Top GitHub Comments
I will add a section in the FAQ
😄