fix: default complex junction crosswalks

This commit is contained in:
que01 committed 2026-09-11 12:40:46 +08:00
1 parent 3575e372bd
commit 376427d270
4 files changed
+7 -11

No files matched your search

+2 -2
View File
@@ -262,8 +262,8 @@ const unsourcedPreview = editPreview(unsourcedComplexArea, {
});
assert.equal(
unsourcedPreview.layers.crosswalks.features.some((feature) => feature.properties.kind === 'complex-crosswalk'),
false,
'the default fixture must not synthesize complex crossings without source evidence',
true,
'complex junctions default to crossings when pavement is available',
);
for (const response of [unsourcedState, unsourcedPreview])
assert.equal(