feat(expect): add asymmetric matcher expect.closeTo#12243
feat(expect): add asymmetric matcher expect.closeTo#12243SimenB merged 3 commits intojestjs:mainfrom Biki-das:doc-work
expect.closeTo#12243Conversation
expect.closeTo
Codecov Report
@@ Coverage Diff @@
## main #12243 +/- ##
==========================================
+ Coverage 67.52% 67.55% +0.02%
==========================================
Files 328 328
Lines 17244 17272 +28
Branches 5069 5077 +8
==========================================
+ Hits 11644 11668 +24
- Misses 5567 5571 +4
Partials 33 33
Continue to review full report at Codecov.
|
|
@SimenB i am excited for this one to land, looking forward to your feedback |
SimenB
left a comment
There was a problem hiding this comment.
works for me! normally we wouldn't add more matchers, but this is just an asymmetric version of a matcher we already have.
can you add a changelog entry?
sure |
expect.closeToexpect.closeTo
|
This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
added feature for #12242
also added a test for the same in
packages/expect/src/__tests__/asymmetricMatchers.test.ts