lecle / aloxide

Aloxide is a pragmatic abstraction layer for various blockchain softwares.
Apache License 2.0
10 stars 5 forks source link

feat(api-gateway): update test case and improve test coverage #111

Closed cymonkey closed 4 years ago

manh-vv commented 4 years ago

@hoang-dao the unit is failed, please check it carefully before making a review request :). Btw, updating unit test is not a feature so please use the prefix test:.

codecov-io commented 4 years ago

Codecov Report

Merging #111 into master will increase coverage by 5.03%. The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #111      +/-   ##
==========================================
+ Coverage   82.08%   87.12%   +5.03%     
==========================================
  Files          69       69              
  Lines        1083     1087       +4     
  Branches      118      120       +2     
==========================================
+ Hits          889      947      +58     
+ Misses        191      137      -54     
  Partials        3        3              
Impacted Files Coverage Δ
packages/api-gateway/src/express-router.ts 45.71% <100.00%> (+45.71%) :arrow_up:
packages/api-gateway/src/graphql-relay.ts 100.00% <100.00%> (+100.00%) :arrow_up:
packages/api-gateway/src/index.ts 100.00% <0.00%> (+100.00%) :arrow_up:
packages/api-gateway/src/GraphqlTypeInterpreter.ts 100.00% <0.00%> (+100.00%) :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 da4c8b5...472323a. Read the comment docs.