fix returns does not override call through#2567
Conversation
fatso83
left a comment
There was a problem hiding this comment.
This looks good to me! Fewer lines = yey!
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #2567 +/- ##
==========================================
- Coverage 96.05% 96.02% -0.04%
==========================================
Files 41 41
Lines 1928 1913 -15
==========================================
- Hits 1852 1837 -15
Misses 76 76
Flags with carried forward coverage won't be shown. Click here to find out more.
☔ View full report in Codecov by Sentry. |
|
Just run |
|
Thanks, for some reason it did not run for me Fixed |
|
Should I update package version or it's automated? |
|
Version numbers are automated. |
|
thanks, when the release should be? |
|
It's already out (just wait a few minutes to clear the cache) P.S. You do not ever have to wait for me to release a new Sinon version (or anyone else's package). Just use patch-package while you wait. Super good! |
|
Yeah, I love patch package but prefer to avoid it as much as possible thanks! |
This partially reverts commit 5fde5ae: - we keep the tests - revert to the old manual clearing of props The clearing of callThrough has then been manually added to what I deem are the relevant spots. Tests are unaltered.
* Add regression test for #2572 * Partially revert "fix returns does not override call through (#2567)" This partially reverts commit 5fde5ae: - we keep the tests - revert to the old manual clearing of props The clearing of callThrough has then been manually added to what I deem are the relevant spots. Tests are unaltered.
Purpose (TL;DR) - mandatory
Fix issue #2566 by clearing the fake current behavior
How to verify - mandatory
npm installnpm testChecklist for author
npm run lintpasses