diff --git a/test/parse.test.js b/test/parse.test.js index 963fd4f..6f64565 100644 --- a/test/parse.test.js +++ b/test/parse.test.js @@ -66,7 +66,7 @@ test('VectorTileLayer', function(t) { test('VectorTileFeature', function(t) { var emptyFeature = new VectorTileFeature(new Buffer([])); t.ok(emptyFeature, 'can be created with no values'); - t.ok(typeof VectorTileFeature.mapping === 'object'); - t.deepEqual(VectorTileFeature.mapping, [ , 'point', 'line', 'fill' ]); + t.ok(Array.isArray(VectorTileFeature.types)); + t.deepEqual(VectorTileFeature.types, ['Unknown', 'Point', 'LineString', 'Polygon']); t.end(); });