fremail / sequelize-nested-set

Library to store and manage nested set trees using Sequelize
MIT License
40 stars 10 forks source link

Optional level field, add parentId support #22

Closed fremail closed 3 years ago

fremail commented 3 years ago

Resolve #12 (Make level field optional) Resolve #6 (Add parentId optional field) Plus I'm adding tests for helpers.

codecov[bot] commented 3 years ago

Codecov Report

Merging #22 (2883417) into master (f06e6df) will increase coverage by 2.39%. The diff coverage is 80.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #22      +/-   ##
==========================================
+ Coverage   55.99%   58.38%   +2.39%     
==========================================
  Files           2        2              
  Lines         434      495      +61     
==========================================
+ Hits          243      289      +46     
- Misses        191      206      +15     
Impacted Files Coverage Δ
index.js 57.85% <80.00%> (+2.53%) :arrow_up:

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 f06e6df...2883417. Read the comment docs.