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

Add toBeArrayWithFloats matcher

Open danielpmichalski opened this issue 5 years ago • 1 comments

What

New matcher for easier comparisons of arrays with floating-point numbers

Why

To make unit testing easier for developers ;)

Notes

Housekeeping

  • [+] Unit tests
  • [+] Documentation is up to date
  • [+] No additional lint warnings
  • [+] Add yourself to contributors list (yarn contributor)
  • [+] Typescript definitions are added/updated where relevant

danielpmichalski avatar Feb 16 '19 21:02 danielpmichalski

Codecov Report

Merging #199 into master will not change coverage. The diff coverage is 100%.

Impacted file tree graph

@@          Coverage Diff          @@
##           master   #199   +/-   ##
=====================================
  Coverage     100%   100%           
=====================================
  Files         109    111    +2     
  Lines         554    588   +34     
  Branches       97    106    +9     
=====================================
+ Hits          554    588   +34
Impacted Files Coverage Δ
src/matchers/toBeArrayWithFloats/predicate.js 100% <100%> (ø)
src/matchers/toBeArrayWithFloats/index.js 100% <100%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 124db14...5a84183. Read the comment docs.

codecov-io avatar Feb 18 '19 15:02 codecov-io