Hi,
I am trying to write tests using the create react app example and am getting the following error:

To reproduce the error:
- `git clone https://github.com/Esri/jsapi-resources.git`
- npm i
- go to create-react-app example
- add `import Map from "@arcgis/core/Map";`
- replace "MapView" with "Map"
- `npm run test`
Any help would be much appreciated!