mirror of
https://github.com/FoggedLens/iD.git
synced 2026-02-13 01:02:58 +00:00
Fix code tests
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user