arb / celebrate

A joi validation middleware for Express.
MIT License
1.34k stars 65 forks source link

Use Joi.assert #157

Closed arb closed 4 years ago

arb commented 4 years ago

Closes #155

Use Joi.assert to remove a few lines of code. Also changed some internal variable names.

codecov-io commented 4 years ago

Codecov Report

Merging #157 into master will not change coverage. The diff coverage is 100%.

Impacted file tree graph

@@          Coverage Diff          @@
##           master   #157   +/-   ##
=====================================
  Coverage     100%   100%           
=====================================
  Files           1      1           
  Lines          68     64    -4     
  Branches       11     12    +1     
=====================================
- Hits           68     64    -4
Impacted Files Coverage Δ
lib/index.js 100% <100%> (ø) :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 7bc6b04...054878f. Read the comment docs.