Skip to content

Conversation

@keeganwitt
Copy link
Collaborator

What

Upgrade to Babel 7.

"@babel/preset-env",
{
"targets": {
"node": "12"
Copy link
Member

Choose a reason for hiding this comment

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

this should target whatever is the lowest this library supports - node 8 from the looks of

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Is that still the case? I think that file hasn't been updated in a while. What does Jest support?

Copy link
Member

Choose a reason for hiding this comment

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

Jest 26 and 27 supports node 10, but I'm fine with only supporting 12 and later here as 10 is EOL

@keeganwitt
Copy link
Collaborator Author

keeganwitt commented Jun 23, 2021

I suspect the failures are because the current version of ESLint doesn't play nice with the upgraded version of @babel/eslint-parser. Once we merge #328, I'll rebase and look again at these failures.

Update: confirmed this locally.

@keeganwitt
Copy link
Collaborator Author

I went ahead and added the lint fixes to this branch so it can be merged independently.

@SimenB SimenB merged commit 671bbdd into jest-community:master Jul 9, 2021
@keeganwitt keeganwitt deleted the upstream/keeganwitt/babel_7 branch July 9, 2021 16:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants