chrome-extensionfeature-requestgood first issuehacktoberfestintermediatejavascriptrefactortesting
仓库指标
- 星标
- (6 个星标)
- PR 合并指标
- (30 天内没有已合并 PR)
描述
Problem
Tests for popup.js are minimal and do not cover button clicks, storage callbacks, or edge cases.
Suggested Improvements
- Simulate clicking
#addAuthor,#saveAuthors, and.remove-author. - Verify DOM changes and storage interactions.
- Add tests for
loadProfile()and saving logic. - Handle edge cases like removing the last author.
Benefit
Covers user interactions and ensures the popup behaves reliably under real usage.