Question: can mocha dependency be upgraded?
See original GitHub issueI’m curious if we can upgrade mocha to "^5.1.1"
instead of "mocha": "^2.5.3"
?
I tried out (with npm-link) using the latest mocha and tests worked fine.
Issue Analytics
- State:
- Created 5 years ago
- Reactions:1
- Comments:10 (3 by maintainers)
Top Results From Across the Web
How to update each dependency in package.json to the latest ...
Simply change every dependency's version to * , then run npm update --save . ... It will list any installed dependencies that have...
Read more >Unable to update mocha to 8.3.1: fsevents@patch - Cannot ...
I'm trying to update mocha from version 8.2.1 to 8.3.1. Mocha is installed as dev dependency. Steps to Reproduce. Set version 8.3.1 in...
Read more >Getting Started with Node.js and Mocha - Semaphore Tutorial
Mocha is a simple, extensible and fast testing library for Node.js. This article will walk you through its installation, configuration and usage.
Read more >How To Test a Node.js Module with Mocha and Assert
We only have one dependency, Mocha, which we will use to organize and run our tests. To download and install Mocha, use the...
Read more >Testing Node.js with Mocha and Chai - LogRocket Blog
js. First, you'll need to install Mocha either globally on your local machine or as a dependency for your project. You can do...
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
@apellerano-pw the specific issue is https://github.com/emberjs/ember-mocha/blob/master/vendor/ember-mocha/ember-mocha-adapter.js, which allows the “implicit async helper chaining tests” where you use
andThen()
instead of callingdone()
at the end or returning aPromise
. that is not supported by default in Mocha and that adapter hacked it so that it works, but as I said above, with newer Mocha releases I haven’t been able to make it work.Two years later, growl is still showing up as a critical vulnerability. I guess we won’t remediate it since this is a dev dependency.