Fixes #403 by extending the regex for the isStyledClass function to support look for the patterns -sc-or _sc- anywhere in a class name or sc- at the start of class name. This should allow toHaveStyleRule to function with classNames that contain a filename for a component within them even when that filename is snake case.
Fixes #403 by extending the regex for the
isStyledClass
function to support look for the patterns-sc-
or_sc-
anywhere in a class name orsc-
at the start of class name. This should allow toHaveStyleRule to function with classNames that contain a filename for a component within them even when that filename is snake case.