diff --git a/package.json b/package.json index e7bdb316bdf..4bc6094db0f 100644 --- a/package.json +++ b/package.json @@ -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" } } diff --git a/test/js/mapbox-gl.js b/test/js/mapbox-gl.js index efcda29fa37..ffbf139037b 100644 --- a/test/js/mapbox-gl.js +++ b/test/js/mapbox-gl.js @@ -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) {