From 60005e2f7f43eab0fbb83565842eeb41064f05ea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Garc=C3=ADa=20Aubert?= Date: Wed, 3 Jan 2018 12:24:07 +0100 Subject: [PATCH] Fix bad assertion --- test/acceptance/aggregation.js | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/test/acceptance/aggregation.js b/test/acceptance/aggregation.js index 28b2c099..ce6eabb4 100644 --- a/test/acceptance/aggregation.js +++ b/test/acceptance/aggregation.js @@ -1271,9 +1271,7 @@ describe('aggregation', function () { const tileJSON = tile.toJSON(); - tileJSON[0].features.forEach(feature => { - assert.equal(typeof feature.properties.value, 'number'); - }); + assert.equal(tileJSON[0].features.length, 7); done(); }); @@ -1324,9 +1322,7 @@ describe('aggregation', function () { const tileJSON = tile.toJSON(); - tileJSON[0].features.forEach(feature => { - assert.equal(typeof feature.properties.value, 'number'); - }); + assert.equal(tileJSON[0].features.length, 7); done(); });