Closed
Description
🐛 Bug Report
After upgrading to new JSX transform, started to receive an error in my mocks that's returning a React Component/Element, saying about the _jsxFileName
variable being outside of scope and could not be accessed.
To Reproduce
Just mock a React Component/Element and start using the new JSX Transform
jest.mock('./MyComponent', () => () => <div id="my-component" />)