Fix code tests

This commit is contained in:
Quincy Morgan
2019-05-22 11:59:48 -04:00
parent 35b3102006
commit 2232d7dadf

View File

@@ -306,7 +306,7 @@ describe('iD.rendererFeatures', function() {
features.gatherStats(all, graph, dimensions);
doMatch('buildings', [
'building_yes', 'building_part',
'building_yes',
'garage1', 'garage2', 'garage3', 'garage4'
]);
@@ -318,6 +318,23 @@ describe('iD.rendererFeatures', function() {
});
it('matches building_parts', function () {
features.gatherStats(all, graph, dimensions);
doMatch('building_parts', [
'building_part'
]);
dontMatch('building_parts', [
'building_yes',
'garage1', 'garage2', 'garage3', 'garage4',
'building_no', 'point_bar', 'motorway', 'service', 'path',
'forest', 'boundary', 'boundary_member', 'water', 'railway', 'power_line',
'motorway_construction', 'fence'
]);
});
it('matches landuse', function () {
features.gatherStats(all, graph, dimensions);