Mapbox Jest Error Running Set the environment variable REACT_APP_TOKEN to be your mapbox token and run yarn start The Error Run yarn test