Fix incorrect use of `hasClass` in `Button` test
The Enzyme `hasClass` method was being called on a non-DOM node by mistake. This didn't cause any problems, but it just meant that the test was not checking what it intended to check.
Showing
Please register or sign in to comment