Closed Lkleven closed 1 year ago
Same thing with Jest 29
I was able to work around this by changing the test running from testRunner: "jest-jasmine2"
to the default. I don't know why this fixes it.
I was able to work around this by changing the test running from
testRunner: "jest-jasmine2"
to the default. I don't know why this fixes it.
I already used the default testRunner jest-circus/runner
so i figured i might as well try and change to jest-jasmine2
, and it actually works. Not really sure why though.
Closing the issue for now as it seems to be testRunner related
This issue is not resolved. Need to update jest version in dependencies.
I'm having this issue with Jest 28 and 29,changing the runner doesn't help. Can this be reopened?
Same here
Hi, I have tried upgrading Jest from 27 to 28 and it seems that jest-styled-components doesn't do anything after the upgrade.
I have code similar to your examples
But the snapshot still have the dynamic classname from styled-components and doesn't include the actual styles:
Any input on this would be greatly appreciated.