erikras / lru-memoize

A utility to provide LRU memoization for any js function
MIT License
316 stars 20 forks source link

Upgraded deps, fixed build, added code cov #81

Closed erikras closed 7 years ago

erikras commented 7 years ago

General housekeeping. This code was getting dusty.

Moved tests to __tests__ dir. Formatted code with Prettier Added code coverage with nyc

codecov-io commented 7 years ago

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@652d6ae). Click here to learn what that means. The diff coverage is 94.44%.

Impacted file tree graph

@@           Coverage Diff            @@
##             master     #81   +/-   ##
========================================
  Coverage          ?   96.2%           
========================================
  Files             ?       4           
  Lines             ?      79           
  Branches          ?       0           
========================================
  Hits              ?      76           
  Misses            ?       3           
  Partials          ?       0
Impacted Files Coverage Δ
src/singletonCache.js 100% <100%> (ø)
src/deepEquals.js 100% <100%> (ø)
src/lruCache.js 92.85% <90%> (ø)
src/memoize.js 93.54% <90.47%> (ø)

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 652d6ae...e0e3eac. Read the comment docs.