Skip to content

Latest commit

 

History

History
17 lines (9 loc) · 454 Bytes

CONTRIBUTING.md

File metadata and controls

17 lines (9 loc) · 454 Bytes

Developing

npm install & npm start & open http://localhost:9966/example/

You'll need a Mapbox access token stored in localstorage. Set it via

localStorage.setItem('MapboxAccessToken', '<TOKEN HERE>');

Testing

Tests require an MapboxAccessToken env variable to be set.

export MapboxAccessToken="YOUR ACCESS TOKEN"

Lastly, run the test command from the console:

npm test