Repository navigation
chore: Remove deprecated jest matchers for native aliases - #2690
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
@@ Coverage Diff @@
## main #2690 +/- ##
=======================================
Coverage 98.43% 98.43%
=======================================
Files 854 854
Lines 11918 11918
Branches 3085 3130 +45
=======================================
Hits 11732 11732
Misses 183 183
Partials 3 3
Continue to review full report in Codecov by Sentry.
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #2690 +/- ##
=====================================
Coverage 98.44 98.44
=====================================
Files 854 854
Lines 11918 11918
Branches 3130 3087 -43
=====================================
Hits 11732 11732
Misses 183 183
Partials 3 3
Continue to review full report in Codecov by Sentry.
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #2690 +/- ##
=======================================
Coverage 98.43% 98.43%
=======================================
Files 854 854
Lines 11918 11918
Branches 3138 3120 -18
=======================================
Hits 11732 11732
Misses 183 183
Partials 3 3
Continue to review full report in Codecov by Sentry.
|
✅ Deploy preview for gazebo ready!Previews expire after 1 month automatically.
|
Description
As of jest 29, aliased matchers like "toBeCalled" "toBeCalledTimes" etc. have been deprecated in favor of their native counterparts "toHaveBeenCalled" and others.
This PR aims to get rid of all deprecated matchers
jest changelog
closes: codecov/engineering-team#1404
Manual Testing
Chore, UT's passing locally should suffice here since this only touches jest.
Link to Sample Entry
Legal Boilerplate
Look, I get it. The entity doing business as "Sentry" was incorporated in the State of Delaware in 2015 as Functional Software, Inc. In 2022 this entity acquired Codecov and as result Sentry is going to need some rights from me in order to utilize my contributions in this PR. So here's the deal: I retain all rights, title and interest in and to my contributions, and by keeping this boilerplate intact I confirm that Sentry can use, modify, copy, and redistribute my contributions, under Sentry's choice of terms.