fix tests

This commit is contained in:
Vladimir Agafonkin 2014-06-26 18:03:26 +03:00
parent a7f74ee5e4
commit 2258a955e9

View File

@ -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();
});