Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade mocha to latest version #2528

Closed
chrisbreiding opened this issue Sep 25, 2018 · 7 comments
Closed

Upgrade mocha to latest version #2528

chrisbreiding opened this issue Sep 25, 2018 · 7 comments
Assignees
Labels
type: breaking change Requires a new major release version type: chore Work is required w/ no deliverable to end user
Milestone

Comments

@chrisbreiding
Copy link
Contributor

We currently use a forked version of mocha at 2.5.3. Upgrade to the latest version, 5.2.0.

@chrisbreiding chrisbreiding added this to the Sprint 4 milestone Sep 25, 2018
@chrisbreiding chrisbreiding self-assigned this Sep 25, 2018
@chrisbreiding chrisbreiding modified the milestones: Sprint 4, Sprint 5 Oct 1, 2018
@pvdyck
Copy link

pvdyck commented Oct 9, 2018

@bahmutov ready for Sprint 5 or postpone ?

@chrisbreiding chrisbreiding modified the milestones: Sprint 5, Sprint 6, Sprint 7 Oct 9, 2018
@chrisbreiding chrisbreiding modified the milestones: Sprint 7, Sprint 8 Oct 22, 2018
@jennifer-shehane
Copy link
Member

@chrisbreiding Is this going to be a breaking change? 4.0? or?

@chrisbreiding
Copy link
Contributor Author

Yes, I'd say it's a breaking change.

@chrisbreiding
Copy link
Contributor Author

chrisbreiding commented Dec 3, 2018

The code for this is complete, but has not yet been released. It will be released in 4.0.

@calvinballing
Copy link
Contributor

Note that an additional issue that this will solve is that '.only' currently works based on string matching, so if multiple tests have the same description, they both run if .only is applied to only one. The same occurs if you have multiple tests that share the same starting description. If the first is called 'Admin' and the second is called 'Admin - Page 2', then applying only to the first will cause both to run. Mocha stopped using string matching in v3 https://mochajs.org/

@dwelle
Copy link

dwelle commented Jan 25, 2019

@calvinballing yep, see #2828

@cypress-bot
Copy link
Contributor

cypress-bot bot commented Feb 6, 2020

Released in 4.0.0.

This comment thread has been locked. If you are still experiencing this issue after upgrading to
Cypress v4.0.0, please open a new issue.

@cypress-bot cypress-bot bot locked as resolved and limited conversation to collaborators Feb 6, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
type: breaking change Requires a new major release version type: chore Work is required w/ no deliverable to end user
Projects
None yet
Development

No branches or pull requests

5 participants