FAC10 / week5-jajascript

Never miss a train leaving from Bethnal Green again
https://week5-jajascript-bethnal-green.herokuapp.com/
5 stars 1 forks source link

Add more test to backend test.js #37

Closed antoniotrkdz closed 7 years ago

antoniotrkdz commented 7 years ago

Testing multiple routes and tflLogic.js relates #36

codecov-io commented 7 years ago

Codecov Report

Merging #37 into master will increase coverage by 34.98%. The diff coverage is 100%.

@@             Coverage Diff             @@
##           master      #37       +/-   ##
===========================================
+ Coverage    60.6%   95.58%   +34.98%     
===========================================
  Files           4        4               
  Lines          66       68        +2     
===========================================
+ Hits           40       65       +25     
+ Misses         26        3       -23
Impacted Files Coverage Δ
src/tflLogic.js 94.73% <100%> (+82.97%) :arrow_up:
src/handler.js 100% <100%> (+13.79%) :arrow_up:
src/router.js 91.66% <0%> (+8.33%) :arrow_up:
src/tflAPI.js 87.5% <0%> (+50%) :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 45541c3...e1cb328. Read the comment docs.