Bundle group added to .yml generation and canvas
This commit is contained in:
@@ -47,3 +47,15 @@ assert(
|
||||
canvasHtml.includes('Array.from(new Set([FORGE_COMPONENT_LABEL, ...sameCategoryComponents'),
|
||||
'loaded PDK selector choices should include forge and same-category library components'
|
||||
);
|
||||
assert(
|
||||
canvasHtml.includes('Object.entries(doc.bundles || {})'),
|
||||
'project and YAML loading should iterate all saved bundle groups, not only output_bus'
|
||||
);
|
||||
assert(
|
||||
!canvasHtml.includes('doc.bundles?.output_bus?.links'),
|
||||
'project and YAML loading should not hardcode bundles.output_bus.links'
|
||||
);
|
||||
assert(
|
||||
canvasHtml.includes('bundle_group: bundleName'),
|
||||
'loaded route metadata should remember the YAML bundle key as route.bundle_group'
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user