diff --git a/package.json b/package.json index 1fbdb21..c4a1d46 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "geoblaze", - "version": "0.2.6", + "version": "0.3.0", "description": "Blazing Fast JavaScript Raster Processing Engine", "main": "dist/geoblaze.node.min.js", "browser": "./dist/geoblaze.web.min.js", diff --git a/src/utils/utils.test.js b/src/utils/utils.test.js index 7436b2a..e2846a1 100644 --- a/src/utils/utils.test.js +++ b/src/utils/utils.test.js @@ -1,6 +1,7 @@ import { expect } from 'chai'; import load from '../load'; import utils from './utils.module'; +import getDepth from 'get-depth'; const { fetchJson, fetchJsons } = utils; @@ -77,7 +78,7 @@ describe('Test Get Depth', () => { const [country, depth] = countryDepth; return fetchJson(urlToGeojsons + country + '.geojson') .then(country => { - const actualDepth = utils.getDepth(country.geometry.coordinates); + const actualDepth = getDepth(country.geometry.coordinates); expect(actualDepth).to.equal(depth); }); });