Skip to content

Bump mocha from 5.2.0 to 9.1.2 #33

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

Merged
merged 5 commits into from
Oct 13, 2021
Merged

Conversation

HappyZombies
Copy link
Member

@HappyZombies HappyZombies commented Oct 12, 2021

Summary 📖

This PR simply updates mocha from 5.2.0 to 9.1.2

After looking over the CHANGELOG for mocha, it appears that a lot of the breaking changes will NOT affect this repo (since they were never really used). All tests pass successfully and look good on my end, and I have not seen any deprecation warnings.

NOTE: Mocha version 9 only works with Node 12 and above (Node 12 is currently it LTS). With this in mind, we should begin the transition of only supporting Node 12 and above.

Linked issue(s) 🔗

#17
Will also close #11

Involved parts of the project ⚙️

None are affected, only tests are, all of which are currently passing.

@HappyZombies HappyZombies added the dependencies 🔌 Pull requests that update a dependency file label Oct 12, 2021
Copy link
Member

@jankapunkt jankapunkt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested and runs fine

@jwerre
Copy link
Contributor

jwerre commented Oct 12, 2021

./.mocharc.yaml

recursive: true
reporter: 'spec'
retries: 1
slow: 20
timeout: '2s'
ui: 'bdd'
# some additional files that could be loaded. e.g.: env.js
# file:
#   - '/path/to/some/file'

@HappyZombies HappyZombies marked this pull request as ready for review October 13, 2021 13:21
@HappyZombies
Copy link
Member Author

@jankapunkt please re-review, I added the new mocha config file.

@jwerre
Copy link
Contributor

jwerre commented Oct 13, 2021

@HappyZombies @jankapunkt Are you guys cool with me merging these once they're approved?

@HappyZombies HappyZombies requested a review from jwerre October 13, 2021 15:40
@HappyZombies
Copy link
Member Author

HappyZombies commented Oct 13, 2021

@jwerre I added you as a reviewer, if it looks good to you go ahead and approve and I'll merge it in after the approval.

Copy link
Contributor

@jwerre jwerre left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perfection!

@HappyZombies HappyZombies removed the request for review from jankapunkt October 13, 2021 15:56
@HappyZombies HappyZombies merged commit 8bb0dcc into development Oct 13, 2021
@HappyZombies HappyZombies deleted the feature.update-mocha branch October 13, 2021 15:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies 🔌 Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants