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

Return TransformedSource in process() #19

Merged
merged 1 commit into from
May 1, 2022

Conversation

3c1u
Copy link
Contributor

@3c1u 3c1u commented Apr 30, 2022

Fixes #18.

@dferber90
Copy link
Owner

Thanks! Does this break older jest versions?

@3c1u
Copy link
Contributor Author

3c1u commented Apr 30, 2022

I tested on Jest v27.5.1 and it worked. As far as I can go back, this seems to be at least compatible with Jest v24.3.0 or later.

https://github.com/facebook/jest/blob/v24.3.0/packages/jest-transform/src/types.ts

@dferber90 dferber90 merged commit 10c4e67 into dferber90:master May 1, 2022
@dferber90
Copy link
Owner

Published as v4.0.1, thanks!

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.

process() should return TransformedSource instead of string
2 participants