eiabea / tempea-api

Thermostat control based on node.js
MIT License
1 stars 0 forks source link

Rewrite js files to ts and and useful types #65

Open eiabea opened 3 years ago

eiabea commented 3 years ago

Started with cache controller and all the tests

Resolves #35

codecov[bot] commented 3 years ago

Codecov Report

Merging #65 into master will decrease coverage by 87.81%. The diff coverage is 31.68%.

Impacted file tree graph

@@             Coverage Diff              @@
##            master      #65       +/-   ##
============================================
- Coverage   100.00%   12.18%   -87.82%     
============================================
  Files           12       13        +1     
  Lines          484      476        -8     
  Branches         0       18       +18     
============================================
- Hits           484       58      -426     
- Misses           0      418      +418     
Impacted Files Coverage Δ
app.ts 0.00% <0.00%> (ø)
controller/temp.controller.ts 14.28% <14.28%> (ø)
controller/cache.controller.ts 16.66% <16.66%> (ø)
controller/index.ts 100.00% <100.00%> (ø)
controller/slave.controller.ts 100.00% <100.00%> (ø)
routes/v1/status.route.js 0.00% <0.00%> (-100.00%) :arrow_down:
controller/heat.controller.js 0.00% <0.00%> (-100.00%) :arrow_down:
controller/relay.controller.js 0.00% <0.00%> (-100.00%) :arrow_down:
controller/schedule.controller.js 0.00% <0.00%> (-100.00%) :arrow_down:
controller/calendar/nextcloud.js 9.25% <0.00%> (-90.75%) :arrow_down:
... and 8 more

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 45fded1...47f53c0. Read the comment docs.