react-color icon indicating copy to clipboard operation
react-color copied to clipboard

TypeError: (0 , _reactcss.handleHover) is not a function

Open lxfu1 opened this issue 1 year ago • 2 comments

Test with jest emit error.

image

lxfu1 avatar Sep 01 '22 03:09 lxfu1

I don't know if you still have the issue but I was able to fix it in my project. Turned out I had moduleNameMapper set in the jest config with a bad regex and it was replacing the reactcss module that react-color uses. Hope it helps!

piedrahitapablo avatar Dec 01 '22 18:12 piedrahitapablo

+1

rwilliams3088 avatar Aug 16 '23 12:08 rwilliams3088