Closed casvil closed 4 years ago
Can you provide a jsbin or similar with this case?
No, I am sorry I can not, the code is work-related. Basically the error appears in the console when I perform a snapshot with jest, no stack trace available :( just this console.error.
What does this error could mean? My component is a react-virtualized
table and one of its cells has a react-sizeme
component, just to tell you and see where the error could come from. Thanks
Any ideas on how this can happen?
Well, somehow the given element(s) are not valid DOM elements. Can't really tell how this is happening, but I assume it's something in your setup as this is working for several other projects. I'll need a minimal reproducible example to investigate it further. Can you provide such example?
The following error keeps appearing when I run jest snapshot testing. It is non-blocking though.
System: Environment Info: