mirror of
https://github.com/mapbox/vector-tile-js.git
synced 2026-01-25 14:08:34 +00:00
fix tests
This commit is contained in:
parent
a7f74ee5e4
commit
2258a955e9
@ -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();
|
||||
});
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user