diff --git a/js/mapbox-gl.js b/js/mapbox-gl.js index 8c5105e4367..9f223c0a001 100644 --- a/js/mapbox-gl.js +++ b/js/mapbox-gl.js @@ -18,8 +18,6 @@ mapboxgl.Scale = require('./ui/control/scale'); mapboxgl.Popup = require('./ui/popup'); mapboxgl.Marker = require('./ui/marker'); -mapboxgl.WorkerPool = require('./util/worker_pool'); - mapboxgl.Style = require('./style/style'); mapboxgl.LngLat = require('./geo/lng_lat'); diff --git a/test/js/mapbox-gl.js b/test/js/mapbox-gl.js index 007eb52994b..178f8d2ec6f 100644 --- a/test/js/mapbox-gl.js +++ b/test/js/mapbox-gl.js @@ -11,7 +11,7 @@ test('mapboxgl', function(t) { }); t.test('.workerCount defaults to hardwareConcurrency - 1', function (t) { - var mapboxgl = proxyquire('../../../js/mapbox-gl', { + var mapboxgl = proxyquire('../../js/mapbox-gl', { './util/browser': { hardwareConcurrency: 15 } }); t.equal(mapboxgl.workerCount, 14);