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
My tests started to fail after upgrading to 2.2, what was unexpected bumping just minor version.
I was expecting every Link component to have className props.
Should we update upgrade guide for 2.2 or this should be considered a bug?
@sprzybylski That's a generally not-recommended pattern for testing classes. You should be asserting on the actual rendered classes, not props.className.
lockbot
locked as resolved and limited conversation to collaborators
Jan 22, 2019
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
My tests started to fail after upgrading to 2.2, what was unexpected bumping just minor version.
I was expecting every Link component to have className props.
Should we update upgrade guide for 2.2 or this should be considered a bug?
2.0.1 outputs:
[ '', 'a-class-name' ]
2.2.2 outputs:
[ undefined, 'a-class-name' ]
The text was updated successfully, but these errors were encountered: