## Goal Add render and interaction tests for `CopyButton.tsx`. ## Context Component has a demo file but no automated tests. ## Acceptance criteria - [ ] New `frontend/components/__tests__/CopyButton.test.tsx` - [ ] Mock `copyToClipboard`; assert copied state toggle ## Out of scope - Changing CopyButton implementation ## Conflict rule Only new test file.
Goal
Add render and interaction tests for
CopyButton.tsx.Context
Component has a demo file but no automated tests.
Acceptance criteria
frontend/components/__tests__/CopyButton.test.tsxcopyToClipboard; assert copied state toggleOut of scope
Conflict rule
Only new test file.