yeldiRium / st3k101

UNMAINTAINED.
2 stars 1 forks source link

[TASK] Add Tests for Response.js #99

Closed yeldiRium closed 6 years ago

yeldiRium commented 6 years ago

Adds a suit of unit tests for Response.js checking json extraction and Response categorization.


This change is Reviewable

codecov[bot] commented 6 years ago

Codecov Report

Merging #99 into develop will increase coverage by 3%. The diff coverage is 75%.

Impacted file tree graph

@@           Coverage Diff           @@
##           develop     #99   +/-   ##
=======================================
+ Coverage     0.21%   3.22%   +3%     
=======================================
  Files           56      56           
  Lines         1364    1363    -1     
  Branches       111     111           
=======================================
+ Hits             3      44   +41     
+ Misses        1250    1210   -40     
+ Partials       111     109    -2
Impacted Files Coverage Δ
frontend/src/api/Util/renameProp.js 0% <ø> (ø) :arrow_up:
...nd/src/express/embeddedAuthenticationMiddleware.js 0% <0%> (ø) :arrow_up:
frontend/src/api/Util/Response.js 100% <100%> (+82.35%) :arrow_up:
frontend/src/api/Errors/index.js 90% <0%> (+90%) :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 1306a78...08bb7fd. Read the comment docs.