-
Notifications
You must be signed in to change notification settings - Fork 24.4k
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
[Jest] ReferenceError with inlineRequire: true #5182
Comments
Hey grabbou, thanks for reporting this issue! React Native, as you've probably heard, is getting really popular and truth is we're getting a bit overwhelmed by the activity surrounding it. There are just too many issues for us to manage properly.
|
I'm having a similar issue, replacing |
Same, for jest UPD: same for RN |
btw. I'll be recommending to use |
Thank you for your patience. We launched Jest 14.0 with experimental react-native support: Please feel free to create new issues after trying out the new integration if any issues remain. |
Possibly related to #3999 @cpojer comments.
After upgrading from 0.14.2 to 0.17 and using react-native preprocessor.js - with default value set to true:
that:
is simply striped out from transformed code (the first line in the file). Setting it to false makes tests green again.
Funny fact is that it's only affected by the jest. When running normally with packager - all goes smoothly.
The text was updated successfully, but these errors were encountered: