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

feat: bump jest to v27 #616

Merged
merged 2 commits into from
Aug 25, 2021
Merged

feat: bump jest to v27 #616

merged 2 commits into from
Aug 25, 2021

Conversation

mediremi
Copy link
Contributor

Jest 27 introduced modern fake timers, which allow us to better mock timers as well as mock the system date/time.

@mediremi mediremi requested a review from varl August 24, 2021 10:15
@varl
Copy link
Contributor

varl commented Aug 24, 2021

Did we land on this being a breaking change or not ?

@mediremi
Copy link
Contributor Author

mediremi commented Aug 24, 2021

I think we said we don't a new major version as the breaking changes in Jest 27 do not affect our tests and by default yarn upgrade does not upgrade major versions.

@varl
Copy link
Contributor

varl commented Aug 25, 2021

Node 13 reached EOL in 2020-06-01 so we don't need to bump a major here I think.

We do signal that we require Node >=12, and the ">" is slightly problematic here.

I'll add a comment to the decision in meeting notes about why we aren't releasing this as a breaking change.

@mediremi mediremi enabled auto-merge (squash) August 25, 2021 08:52
@mediremi mediremi merged commit 618fd27 into master Aug 25, 2021
@mediremi mediremi deleted the feat/bump-jest branch August 25, 2021 08:54
dhis2-bot added a commit that referenced this pull request Aug 25, 2021
# [7.5.0](v7.4.0...v7.5.0) (2021-08-25)

### Features

* bump jest to v27 ([#616](#616)) ([618fd27](618fd27))
@dhis2-bot
Copy link
Contributor

🎉 This PR is included in version 7.5.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

mediremi added a commit that referenced this pull request Aug 25, 2021
mediremi added a commit that referenced this pull request Aug 25, 2021
varl added a commit that referenced this pull request Aug 25, 2021
revert: "feat: bump jest to v27 (#616)"
dhis2-bot added a commit that referenced this pull request Aug 25, 2021
## [7.5.1](v7.5.0...v7.5.1) (2021-08-25)

### Reverts

* "feat: bump jest to v27 ([#616](#616))" ([7733d14](7733d14))
dhis2-bot added a commit that referenced this pull request Aug 25, 2021
## [7.5.1-beta.1](v7.5.0...v7.5.1-beta.1) (2021-08-25)

### Reverts

* "feat: bump jest to v27 ([#616](#616))" ([7733d14](7733d14))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

Successfully merging this pull request may close these issues.

None yet

3 participants