rsm-hcd / AndcultureCode.JavaScript.React

Common patterns, functions, etc... used when building react applications
6 stars 8 forks source link

Add usePagError hook tests #62

Closed myty closed 3 years ago

myty commented 3 years ago

Adds test for issue #22

codecov[bot] commented 3 years ago

Codecov Report

Merging #62 (289807a) into main (b12574c) will increase coverage by 0.23%. The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main      #62      +/-   ##
==========================================
+ Coverage   94.62%   94.86%   +0.23%     
==========================================
  Files          16       17       +1     
  Lines         242      253      +11     
  Branches       27       28       +1     
==========================================
+ Hits          229      240      +11     
  Misses         12       12              
  Partials        1        1              
Impacted Files Coverage Δ
src/hooks/use-page-errors.ts 100.00% <100.00%> (ø)

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 b12574c...93fc851. Read the comment docs.

myty commented 3 years ago

@brandongregoryscott I think I addressed all of your comments. Thanks!