enzyme-adapter-react-17 icon indicating copy to clipboard operation
enzyme-adapter-react-17 copied to clipboard

Unofficial adapter for React 17 for Enzyme.

Results 9 enzyme-adapter-react-17 issues
Sort by recently updated
recently updated
newest added

While using `React 17`, [MUI 5](https://mui.com/material-ui/getting-started/installation/), and latest version of `@wojtekmaj/enzyme-adapter-react-17` (which is 0.6.7), when we try to simulate an event (like `click` or `mouseenter`) on MUI components like `Button`,...

help wanted
question

``` npm ERR! Conflicting peer dependency: [email protected] npm ERR! node_modules/react npm ERR! peer react@"^17.0.0-0" from @wojtekmaj/[email protected] npm ERR! node_modules/@wojtekmaj/enzyme-adapter-react-17 npm ERR! dev @wojtekmaj/enzyme-adapter-react-17@"^0.6.7" from the root project ``` ``` $...

question

Looks like there are not many breakings changes in react 18: https://reactjs.org/blog/2022/03/08/react-18-upgrade-guide.html So I think this should work out of the box.

I keep getting errors following the documentation for setting up Enzyme with the default export, like in #21. setupEnzyme.ts ```javascript import { configure } from 'enzyme'; import Adapter from '@wojtekmaj/enzyme-adapter-react-17';...

question

https://dev.to/wojtekmaj/enzyme-is-dead-now-what-ekl

Hi, I've switched over to this library as part of our React 17 upgrade. We are using React Native. I've noticed that all our snapshots (several thousand) in the project...

bug

I have several tests that use `mount()` and currently using `it.skip` since I've updated to React 17 and this adapter for enzyme. I'm at a loss because I am having...

question

Hi, I tried to test on a component with multiple children wrapped in ``, like: ``` ``` Only the first `div` rendered in test framework. Here's the [reproduction link](https://codesandbox.io/s/suspense-multiple-children-yw7oe?file=/src/Suspense.js). It...

bug

The error I'm seeing: ``` console.error Warning: Failed prop type: Invalid prop `nodeRef.current` of type `HTMLDivElement` supplied to `Transition`, expected instance of `Element`. at Transition (...\node_modules\react-transition-group\cjs\Transition.js:133:30) at Fade (...\node_modules\@material-ui\core\node\Fade\Fade.js:53:5) at...

question