Skip to content

Commit

Permalink
increased package version and fixed bug with tests
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielJDufour committed Oct 2, 2020
1 parent d8817f6 commit 7b971da
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
3 changes: 2 additions & 1 deletion src/utils/utils.test.js
Original file line number Diff line number Diff line change
@@ -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;

Expand Down Expand Up @@ -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);
});
});
Expand Down

0 comments on commit 7b971da

Please sign in to comment.