Skip to content

Conversation

@yoyo837
Copy link
Member

@yoyo837 yoyo837 commented Dec 23, 2023

@yoyo837 yoyo837 requested review from MadCcc and afc163 December 23, 2023 14:38
@codecov
Copy link

codecov bot commented Dec 23, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (6f55ae3) 96.79% compared to head (e8777c8) 97.31%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master      #58      +/-   ##
==========================================
+ Coverage   96.79%   97.31%   +0.52%     
==========================================
  Files           5        5              
  Lines         187      186       -1     
  Branches       69       68       -1     
==========================================
  Hits          181      181              
+ Misses          6        5       -1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

});

expect(onChange).toHaveBeenCalled();
expect(onChange.mock.calls[0][0].target.files[0]).toBe(file);
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Adding this test case without fix can make the test fail.

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.

Empty e.target.files in onChange handler for Input type="file" in Safari only

3 participants