michaeldzjap / react-signature-pad-wrapper

A React wrapper for signature pad
MIT License
204 stars 27 forks source link

Add support for React 18 and migrate to React Testing Library #47

Closed michaeldzjap closed 2 years ago

michaeldzjap commented 2 years ago

This replaces #44. It adds both support for React 18 and replaces Enzyme in favour of React Testing Library.

codecov-commenter commented 2 years ago

Codecov Report

Merging #47 (719c8d7) into develop (1cf3817) will decrease coverage by 0.41%. The diff coverage is 100.00%.

@@             Coverage Diff             @@
##           develop      #47      +/-   ##
===========================================
- Coverage    98.90%   98.48%   -0.42%     
===========================================
  Files            2        1       -1     
  Lines           91       66      -25     
  Branches        13       12       -1     
===========================================
- Hits            90       65      -25     
  Partials         1        1              
Impacted Files Coverage Δ
src/SignaturePad.tsx 98.48% <100.00%> (-0.41%) :arrow_down:
__tests__/helpers/signature.ts

:mega: Codecov can now indicate which changes are the most critical in Pull Requests. Learn more

sonarcloud[bot] commented 2 years ago

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

100.0% 100.0% Coverage
0.0% 0.0% Duplication