Reactjs – Property `default` is not declared configurable when mocking React component
I just started a new React/Next.js project and realized that I cannot mock memoized React components the way I could in a previous project. And I fail to find out why. Here's a minimal example of my setup: // /src/components/Foo.tsx…