Skip to content

Commit

Permalink
Fix GeoJSONWorkerSource unit test -- add "coalesce" call to loadData …
Browse files Browse the repository at this point in the history
…callback.
  • Loading branch information
ChrisLoer committed Dec 22, 2017
1 parent ec6c9f7 commit 10c545c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/unit/source/geojson_worker_source.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ test('reloadTile', (t) => {

function addData(callback) {
source.loadData({ source: 'sourceId', data: JSON.stringify(geoJson) }, (err) => {
source.coalesce();
t.equal(err, null);
callback();
});
Expand Down

0 comments on commit 10c545c

Please sign in to comment.