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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
File in node_modules not transformed (related to transformIgnorePatterns) #7578
Comments
transformIgnorePatterns
)
Could you please include your babel config? If you're transpiling |
Thanks, that fixes it. |
@volkanunsal how did you solve it? |
@domkrel I wasn't using a |
@volkanunsal thanks for the hint. I dropped my babel.rc in favor for babel.config.js now. |
I wonder if this still persists? I have just encountered the same problem and although i am using transformIgnorePatterns in |
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. |
馃悰 Bug Report
In my jest config, I have the following:
And in my test file, I have this:
And I get this error:
Expected behavior
I have traced the file into
script_transformer.js
. The code is not transpiled, despite the fact thatwillTransform
equals true. SotransformSource
is returning untransformed content:Both
transformedSource.code
andcontent
are the same. I expect the result to be in ES5, but it's not.Run
npx envinfo --preset jest
Paste the results here:
The text was updated successfully, but these errors were encountered: