-
-
Notifications
You must be signed in to change notification settings - Fork 6.5k
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
Transform Async #5556
Comments
Unfortunately Jest expects transformers to be synchronous and we cannot change it at this time because we transform just-in-time when user code calls |
Make sense, thank you! |
Hi Thanks anyway for the transform option to exist at all :) |
@jpvincent
|
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Do you want to request a feature or report a bug?
Feature.
What is the current behavior?
Transforms are synchronous, basically
process
returns astring
of the transformed source.What is the expected behavior?
It would be useful to also support Promises, for asynchronous transformation.
The text was updated successfully, but these errors were encountered: