Improve assertions

This commit is contained in:
Daniel García Aubert 2018-10-15 15:25:23 +02:00
parent c234b4ea91
commit 184a804367

View File

@ -278,9 +278,11 @@ return function () {
assert.ok(Array.isArray(tileWithOverviews.features));
assert.equal(tileWithOverviews.features.length, 1);
assert.equal(tileWithOverviews.features[0].properties._feature_count, 5);
assert.ok(Array.isArray(tileWithoutOverviews.features));
assert.equal(tileWithoutOverviews.features.length, 5);
assert.equal(tileWithoutOverviews.features[0].properties._feature_count, undefined);
testClient.drain(done);
});