Open latin-1 opened 1 month ago
Supporting Babel 8 makes sense, happy to take a PR that expands our range (including tests).
Could you file a separate feature request for a way to opt out of the Jest preset? Note that this will break jest.mock
hoisting etc.
🚀 Feature Proposal
Add support for Babel v8. https://github.com/babel/babel/issues/10746
Currently, using
babel-jest
and@babel/core@8
produces this error:Furthermore, we could add an option to
babel-jest
to opt-out thebabel-preset-jest
(especially,babel-preset-current-node-syntax
, which does not make much sense if the developer specified their own babel config).Motivation
.
Example
No response
Pitch
.