Skip to content

Commit e9259ee

Browse files
committed
test(spec): type the builder control's master read
Co-authored-by: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01B2EeooonSXrANpkpgUSfFZ
1 parent 2783ea7 commit e9259ee

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎packages/spec/src/data/controlled-by-parent-master.test.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,6 @@ describe('#25092 a one master marked readonly or system is refused at authoring,
171171
sharingModel: 'controlled_by_parent',
172172
fields: { order: { type: 'master_detail', label: 'Order', reference: 'work_order' } },
173173
});
174-
expect(obj.fields.order.required).toBe(true);
174+
expect((obj.fields.order as { required?: unknown }).required).toBe(true);
175175
});
176176
});

0 commit comments

Comments
 (0)