Closed
Description
I am trying to write some test code using Jest and Enzyme to test out my components. I would like to be able to test that a proptype warning gets thrown when a prop is invalid, but I'm running into the issue where css modules uses the invalid prop to create the stylenames. Is there anyway to ignore these styleName not found errors in a test environment? I noticed that the react-css-modules has a flag for "errorWhenNotFound".