Remove unused variables, use Object.prototype.hasOwnProperty.call, rewrite an
assignment-in-condition, annotate forced-reflow reads and a dynamic constructor,
convert the chai-style ui-edit-button test to Jest matchers, and warn (not
error) on unused vars / conditional expect in test files. The vacuous
'prevent event bubbling' test is now test.todo: it asserted nothing and is
false against its mock DOM. Jest 67 passed + 1 todo.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Assistant: claude-code
Assistant-Model: sonnet
Assistant-Process: 299063@bnt-lap001
Assistant-Session: 53eb1e1c-c13a-4277-9ce2-3702960d93f7