jest-extended icon indicating copy to clipboard operation
jest-extended copied to clipboard

Add failing element to `satisfyAll` and `satisfyAny` error messages

Open mattphillips opened this issue 1 year ago β€’ 1 comments

What

Add failing element to satisfyAll and satisfyAny error messages

Why

This will give a clearer error message of why the assertion failed

Notes

Screenshot 2022-08-05 at 13 21 09

Housekeeping

  • [x] Unit tests
  • [x] Documentation is up to date
  • [x] No additional lint warnings
  • [x] Typescript definitions are added/updated where relevant

mattphillips avatar Aug 05 '22 12:08 mattphillips

Codecov Report

Merging #482 (5010b79) into main (877341d) will not change coverage. The diff coverage is 100.00%.

@@            Coverage Diff            @@
##              main      #482   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           71        71           
  Lines          582       584    +2     
  Branches       148       150    +2     
=========================================
+ Hits           582       584    +2     
Impacted Files Coverage Ξ”
src/matchers/toSatisfyAll.js 100.00% <100.00%> (ΓΈ)
src/matchers/toSatisfyAny.js 100.00% <100.00%> (ΓΈ)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

codecov[bot] avatar Aug 05 '22 12:08 codecov[bot]