Skip to content

test(uploadbutton): add focused upload button unit tests#13245

Closed
nightcityblade wants to merge 1 commit intogradio-app:mainfrom
nightcityblade:fix/issue-13109
Closed

test(uploadbutton): add focused upload button unit tests#13245
nightcityblade wants to merge 1 commit intogradio-app:mainfrom
nightcityblade:fix/issue-13109

Conversation

@nightcityblade
Copy link
Copy Markdown

Description

Adds UploadButton unit tests for accepted file type mapping, click forwarding to the hidden input, emitted click events, and disabled-state behavior.

Closes: #13109

AI Disclosure

  • I used AI to draft and refine the test updates, then self-reviewed the final changes.
  • I did not use AI

🎯 PRs Should Target Issues

Tracked issue: #13109

Testing and Formatting Your Code

  • Checking formatting...
    All matched files use Prettier code style!

@pngwn pngwn closed this Apr 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

uploadbutton: refactor unit tests

2 participants