This project works fine with the actual dependencies but if the dependencies change to actual versions of React and remove enzyme and replaced it by @testing-library/jest-dom the project it doesn't pass the suite test.
So this steps it will follow if you want reproduce the example
This project works fine with the actual dependencies but if the dependencies change to actual versions of React and remove enzyme and replaced it by @testing-library/jest-dom the project it doesn't pass the suite test. So this steps it will follow if you want reproduce the example
Modify dependencies in package.json
Replace enzyme and add @testing-library/jest-dom in jestSetup.js
Remove snapshotSerializers from jest file
And this is the error