styled-components / jest-styled-components

🔧 💅 Jest utilities for Styled Components
MIT License
1.58k stars 144 forks source link

[Bug] wrong className generated #415

Open kopax-polyconseil opened 1 year ago

kopax-polyconseil commented 1 year ago

Hello, we were having a lot of hate for our web snapshots before finding your module. One of our dev just opened a proposal to solve this and I have opened a PR that was accepted by the team.

However, we have found some className being overwritten in the same file, this is an example : https://github.com/pass-culture/pass-culture-app-native/pull/3338/files#diff-13297d42cb0a8cc4fa48f64afc1e319560d066869ba3df35d6f22081ee29aa56R256

Should we consider this as a bug ? It's unexpected but I doubt it is a big matter.

Also, why, on the same line, one class was not replaced ?

Thanks !