I\'m attempting to test a React component with Jest/Enzyme while using Webpack.
I have a very simple test @
import React from \'react\'; import { sha
Make sure in your test file you have well imported the render component. It should be imported from @testing-library/react not from react-dom:
@testing-library/react
react-dom
import { render } from '@testing-library/react';