skovhus / jest-codemods

Codemods for migrating to Jest https://github.com/facebook/jest 👾
MIT License
877 stars 81 forks source link

fix(`jasmine-globals`): fix transform for existing `spyOn` #580

Closed puglyfe closed 3 months ago

puglyfe commented 3 months ago

Closes https://github.com/skovhus/jest-codemods/issues/579

Better handling of usage of existingSpy.and.callThrough(). This follows the same pattern as the legacy andCallThrough logic here.

codecov[bot] commented 3 months ago

Codecov Report

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

Project coverage is 92.63%. Comparing base (a94e2b5) to head (a3e1b24). Report is 51 commits behind head on main.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #580 +/- ## ========================================== + Coverage 92.38% 92.63% +0.24% ========================================== Files 26 27 +1 Lines 1944 2010 +66 Branches 405 416 +11 ========================================== + Hits 1796 1862 +66 Misses 102 102 Partials 46 46 ```

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

puglyfe commented 3 months ago

thanks @skovhus. would it be possible to publish a new release that contains the recent updates? it doesn't look like there's anything else currently under active development.