follow-the-nft / follow-the-nft-api

The Express API for the follow-the-nft
MIT License
0 stars 0 forks source link

basic and bearer auth working #43

Closed fadnesscharlie closed 2 years ago

fadnesscharlie commented 2 years ago

Functionality of Auth working

codecov-commenter commented 2 years ago

Codecov Report

Merging #43 (a4b63fb) into dev (37faa7c) will decrease coverage by 42.76%. The diff coverage is 42.48%.

Impacted file tree graph

@@             Coverage Diff             @@
##              dev      #43       +/-   ##
===========================================
- Coverage   85.71%   42.94%   -42.77%     
===========================================
  Files           1        9        +8     
  Lines           7      156      +149     
  Branches        0       17       +17     
===========================================
+ Hits            6       67       +61     
- Misses          1       81       +80     
- Partials        0        8        +8     
Impacted Files Coverage Δ
src/middleware/bearer.js 15.38% <15.38%> (ø)
src/middleware/basic.js 23.07% <23.07%> (ø)
src/handlers/not-found.js 25.00% <25.00%> (ø)
src/routes/public.js 25.64% <25.64%> (ø)
src/models/user.js 34.37% <34.37%> (ø)
src/routes/user.js 47.61% <47.61%> (ø)
src/models/index.js 81.81% <81.81%> (ø)
src/handlers/error.js 83.33% <83.33%> (ø)
src/server.js 94.11% <100.00%> (+8.40%) :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 cdbbba8...a4b63fb. Read the comment docs.

MuckT commented 2 years ago

@fadnesscharlie added a sample test for our error handler along with fixing some lint errors.