mirror of
https://github.com/CherryHQ/cherry-studio.git
synced 2026-02-07 11:31:07 +08:00
* test: add comprehensive tests for CopyButton component - Add tests for basic rendering and functionality - Add clipboard API mocking and error handling - Add tests for custom props (size, tooltip, label) - Add edge case testing (empty text, special characters) - Improve component test coverage Signed-off-by: Jason Young <farion1231@gmail.com> * fix: resolve linting issues in CopyButton tests - Sort imports alphabetically - Remove trailing whitespace - Add final newline Signed-off-by: Jason Young <farion1231@gmail.com> * refactor: consolidate similar test cases in CopyButton tests - Merge 'should render copy icon' and 'should render with basic structure' - Merge 'should apply custom size to icon' and 'should apply custom size to label' - Reduce test duplication while maintaining full coverage - Address maintainer feedback for better test organization Signed-off-by: Jason Young <farion1231@gmail.com> --------- Signed-off-by: Jason Young <farion1231@gmail.com> |
||
|---|---|---|
| .. | ||
| src | ||
| index.html | ||
| miniWindow.html | ||
| selectionAction.html | ||
| selectionToolbar.html | ||