feat: close link sub property codecs
This commit is contained in:
@@ -5848,7 +5848,7 @@ test('Datum and ShapeBinder stay in the active Body without stealing its Tip and
|
||||
facade.task.apply()
|
||||
const binder = facade.app.document.getObject('shape-binder')
|
||||
assert.equal(binder?.typeId, 'PartDesign::ShapeBinder')
|
||||
assert.deepEqual(binder?.properties.find((property) => property.name === 'Support')?.value, { schemaVersion: 1, objectId: 'pad', subElements: [] })
|
||||
assert.deepEqual(binder?.properties.find((property) => property.name === 'Support')?.value, { schemaVersion: 1, entries: [{ objectId: 'pad', subElement: null }] })
|
||||
assert.equal(facade.app.document.getActive().tree.find((item) => item.id === 'body001')?.children?.includes('shape-binder'), true)
|
||||
assert.equal(facade.app.document.getObject('body001')?.properties.find((property) => property.name === 'Tip')?.value, null)
|
||||
assert.deepEqual(facade.app.document.getDependencies().filter((edge) => edge.sourceId === 'shape-binder').map((edge) => edge.targetId), ['pad'])
|
||||
|
||||
Reference in New Issue
Block a user