callstack / react-native-testing-library

🦉 Simple and complete React Native testing utilities that encourage good testing practices.
https://callstack.github.io/react-native-testing-library/
MIT License
3.07k stars 271 forks source link

fix: user event add target prop #1538

Closed mdjastrzebski closed 10 months ago

mdjastrzebski commented 10 months ago

Summary

Resolves first issue of #1530 by adding empty object target and currentTarget props for each User Event events.

Test plan

codecov[bot] commented 10 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (7acec0c) 95.56% compared to head (96e2791) 95.65%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #1538 +/- ## ========================================== + Coverage 95.56% 95.65% +0.08% ========================================== Files 99 99 Lines 5888 5909 +21 Branches 870 869 -1 ========================================== + Hits 5627 5652 +25 + Misses 261 257 -4 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

mdjastrzebski commented 10 months ago

Reported codecov drop seems to be incorrect as now real code and/or tests have been modfied.

mdjastrzebski commented 10 months ago

🎉 This PR has been release in RNTL v12.4.1!