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.

Question: can mocha dependency be upgraded?

See original GitHub issue

I’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:open
  • Created 5 years ago
  • Reactions:1
  • Comments:10 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
Turbo87commented, Jul 5, 2018

@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 calling done() at the end or returning a Promise. 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.

0reactions
mileslanecommented, Jan 27, 2022

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.

Read more comments on GitHub >

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

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