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 registering as Unused even with --specials=mocha

See original GitHub issue

Bug Description

When I try to run depcheck ./ --specials=mocha in a project where tests are ran like mocha --delay --exit ./test/suite.js I still get…

Unused devDependencies
* chai
* mocha
* nyc
* rollup
* sinon

npm ERR! code ELIFECYCLE
npm ERR! errno 4294967295

Versions

  • node -v: v10.12.0
  • npm -v: 6.4.1
  • depcheck --version: 0.6.11

Extra info

The --json command didn’t do anything.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:18 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
jrgleasoncommented, Apr 26, 2019

I will try to put together a simple example so I can share ASAP

0reactions
stale[bot]commented, Nov 2, 2019

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Read more comments on GitHub >

github_iconTop Results From Across the Web

mochajs/mocha - Gitter
Hi! Did you tried to start maildev in mocha tests with using --recursive flag? i have strange error "error: unknown option `--recursive'" when...
Read more >
Should not silently fail given --opts option · Issue #2576 - GitHub
We had a problem where mocha wasn't finding mocha.opts, but it was silently just letting it fly and trying to run the tests....
Read more >
Mocha Chai Tests Pass buth shouldn't - Stack Overflow
1) Registration /POST Register Page it should register new user: Error: Timeout of 3000ms exceeded. For async tests and hooks, ensure "done()" ...
Read more >
Cali Bamboo Mocha Brown Floor Register (Duct Opening
Shop cali bamboo mocha brown floor register (duct opening: 4.2-in x 11.89-in; outside: 13.5-in x 5.625-in) in the floor registers section of Lowes.com....
Read more >
Big Train 3.5 lb. Kona Mocha Blended Ice Coffee Mix
This drink mix combines the tastes of smooth Arabica coffee, chocolate, and robust Hawaiian Kona coffee flavor for a unique mocha experience in...
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