rodrigo-brito / gocity

:bar_chart: Code City metaphor for visualizing Go source code in 3D
https://go-city.github.io
MIT License
1.8k stars 139 forks source link

Add test for header middleware #57

Closed Ashwithabg closed 4 years ago

Ashwithabg commented 4 years ago

45

Co-authored-by: Ravi ravikumarkarn080@gmail.com

codecov[bot] commented 4 years ago

Codecov Report

Merging #57 into master will decrease coverage by 1.12%. The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #57      +/-   ##
==========================================
- Coverage   75.40%   74.27%   -1.13%     
==========================================
  Files           7        9       +2     
  Lines         187      206      +19     
==========================================
+ Hits          141      153      +12     
- Misses         44       51       +7     
  Partials        2        2              
Flag Coverage Δ
#unittests 74.27% <ø> (-1.13%) :arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
model/node.go 94.66% <0.00%> (ø)
utils/utils.go
handle/middlewares/cors.go 0.00% <0.00%> (ø)
lib/file/utils.go 100.00% <0.00%> (ø)
handle/middlewares/headers.go 100.00% <0.00%> (ø)

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 b5b96f9...bc2f9d0. Read the comment docs.

rodrigo-brito commented 4 years ago

It looks great! Thank you for your contribution!

Ashwithabg commented 4 years ago

Thanks @rodrigo-brito It was a good learning for me.