nas5w / javascript-patterns

A collection of javascript algorithms, patterns, and techniques
MIT License
293 stars 69 forks source link

add factory pattern with its test #102

Closed wilk closed 5 years ago

wilk commented 5 years ago

refers to #37

codecov-io commented 5 years ago

Codecov Report

Merging #102 into master will increase coverage by 0.09%. The diff coverage is 100%.

Impacted file tree graph

@@           Coverage Diff            @@
##           master   #102      +/-   ##
========================================
+ Coverage   98.91%    99%   +0.09%     
========================================
  Files          33     35       +2     
  Lines         459    502      +43     
  Branches       66     75       +9     
========================================
+ Hits          454    497      +43     
  Misses          5      5
Impacted Files Coverage Δ
src/patterns/factory.js 100% <100%> (ø)
src/dataStructures/hashTable.js 100% <0%> (ø)

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 8661766...37e7d03. Read the comment docs.