question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

`mocha --watch` breaks the parser

See original GitHub issue

this 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:closed
  • Created 6 years ago
  • Comments:14 (11 by maintainers)

github_iconTop GitHub Comments

1reaction
bd82commented, May 24, 2018

I will add a section in the FAQ

0reactions
bd82commented, Jun 27, 2018

😄

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found