-
-
Notifications
You must be signed in to change notification settings - Fork 34
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
Added simultaneous support of jest v26 & v27 for transformer #548
Conversation
Thank you for making it solid and compatible, @cbmd. Could you take a look at the build results? |
src/jestTransformer.ts
Outdated
input, | ||
filePath, | ||
__compatJestConfig, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
jest and babel-jest use arg names of (sourceText, sourcePath, options)
for both process
and getCacheKey
, it would be cool to get aligned with them: https://jestjs.io/docs/next/code-transformation#writing-custom-transformers
# Conflicts: # package.json # yarn.lock
Sure, i'll take a look next week @piglovesyou! |
… definitely bumped to v27
# Conflicts: # yarn.lock
@piglovesyou it's ready to re-review. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So nice. Thank you @cbmd!!
I left one comment. Could you consider and share what you think about it?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@piglovesyou can this one be released to npm? :) |
I'll do it soon! Sorry, I've forgotten it after my tasks.. |
No description provided.