Wojciech Maj
Wojciech Maj
I narrowed the problem down to invoking `.simulate('click')` on elements created using Emotion's `styled()`. I also know it's not a problem with styled-components. https://codesandbox.io/s/enzyme-adapter-react-17-wrapper-click-0brpnx
That should be a perfectly valid version as per [NPM's own tooling](https://semver.npmjs.com/).  Which version or React are you using?
@nabilfreeman Unfortunately this workaround breaks a few tests we have, so I can't add this.
You sure that works for React 16? Because I'm pretty sure ```js jest.mock('react-router-dom'); ``` will replace react-router-dom with an empty module, which would cause attempt to render `` to cause...
Looks like a bug indeed. Note to self: Might be related to https://github.com/enzymejs/enzyme/pull/2430#issuecomment-718957496
Do you see it with React 16 and enzyme-adapter-react-16?
Hi @0x54321, that's interesting! Do you have any more information, e.g. browser/OS on which these errors happened? That would be hugely helpful.
Hmm, for some reason this doesn't work for me. I tried various options: ``` { featureType: 'poi', stylers: [{ visibility: 'off' }], }, { featureType: 'poi.business', stylers: [{ visibility: 'off'...
Bump. I refuse to let this PR die.