You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I defined my styles using colors like rgba(101, 45, 144, 1). toHaveStyleRule() fails to match because styled-components seems to be removing spaces from the color value like this rgba(101,45,144,1). Either styled-components shouldn't remove the spaces, or toHaveStyleRule() should also ignore the spaces when comparing.
The text was updated successfully, but these errors were encountered:
However, this is not the first time we hear about a similar problem.
Can you please give us more info about your setup or provide a non-working example?
I defined my styles using colors like rgba(101, 45, 144, 1). toHaveStyleRule() fails to match because styled-components seems to be removing spaces from the color value like this rgba(101,45,144,1). Either styled-components shouldn't remove the spaces, or toHaveStyleRule() should also ignore the spaces when comparing.
The text was updated successfully, but these errors were encountered: