-
Notifications
You must be signed in to change notification settings - Fork 459
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
[Bug]: babel-plugin-styled-components is ignored/not working #4026
Comments
If you remove |
Hi @ahnpnl , I removed |
Hi, you can check this PR #4083 for example config |
Hi @ahnpnl, replaced Note the issue was introduced in |
Hi @ahnpnl, so you're saying the issue is produced by |
There is an issue open for that plug-in styled-components/babel-plugin-styled-components#343 I think the plug-in has issue, I don’t think it’s |
Version
29.0.5
Steps to reproduce
Expected behavior
In ts-jest 26 you get as snapshot:
Actual behavior
In ts-jest 29 you get as snapshot:
Debug log
I can't add the file
Additional context
In the migration from
Jest
andts-jest
26 to 29, all of our snapshots are breaking sincedisplayName
attribute ofbabel-styled-components
plugin is being ignored. Actually, the issue was introduced when migrating from 26 to 27, but it wasn't solved in the latest 29 version.The problem is display names are being completely ignored, while in runtime (non-test environment) it is working OK. Also the issue is only happening after moving out from v26.
Environment
The text was updated successfully, but these errors were encountered: