-
Notifications
You must be signed in to change notification settings - Fork 186
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Detailed testing instructions. Fixes #53
- Loading branch information
Showing
1 changed file
with
32 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
_[How to report a bug](http://polite.technology/reportabug.html)_ | ||
|
||
## Contributing | ||
|
||
To test the Mapbox JavaScript SDK, you'll need all of the dependencies for | ||
development (git, npm, node), and a valid Mapbox access token that has | ||
access to all tested services. | ||
|
||
Clone this repository | ||
|
||
```sh | ||
$ git clone https://github.com/mapbox/mapbox-sdk-js.git | ||
$ cd mapbox-sdk-js | ||
``` | ||
|
||
Install dependencies | ||
|
||
```sh | ||
$ npm install | ||
``` | ||
|
||
Set the access token in your environment | ||
|
||
```sh | ||
$ export MapboxAccessToken=YOUR_ACCESS_TOKEN_HERE | ||
``` | ||
|
||
Run the tests | ||
|
||
```sh | ||
$ npm test | ||
``` |