Skip to content

Commit

Permalink
Include test for mapbox-gl module (#3043)
Browse files Browse the repository at this point in the history
* Include test for mapbox-gl module

This test was not being run by `tap test/js/*/*.js ...`

* Ensure all files in "test/js" get run by tap
  • Loading branch information
anandthakker authored Aug 22, 2016
1 parent 26e1284 commit 67bf43b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,6 @@
"lint": "eslint --ignore-path .gitignore js test bench docs/_posts/examples/*.html",
"open-changed-examples": "git diff --name-only mb-pages HEAD -- docs/_posts/examples/*.html | awk '{print \"http://127.0.0.1:4000/mapbox-gl-js/example/\" substr($0,33,length($0)-37)}' | xargs open",
"test-suite": "node test/render.test.js && node test/query.test.js",
"test": "npm run lint && tap --reporter dot test/js/*/*.js test/build/webpack.test.js"
"test": "npm run lint && tap --reporter dot test/js test/build/webpack.test.js"
}
}
2 changes: 1 addition & 1 deletion test/js/mapbox-gl.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
'use strict';

var test = require('tap').test;
var mapboxgl = require('../../../js/mapbox-gl');
var mapboxgl = require('../../js/mapbox-gl');

test('mapboxgl', function(t) {
t.test('version', function(t) {
Expand Down

0 comments on commit 67bf43b

Please sign in to comment.