Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test(core-api): increase coverage to 100% #3865

Merged
merged 18 commits into from
Jul 2, 2020

Conversation

sebastijankuzner
Copy link
Contributor

Summary

PR increases core-api coverage to 100%.

Checklist

  • Tests
  • Ready to be merged

@codecov
Copy link

codecov bot commented Jul 2, 2020

Codecov Report

Merging #3865 into develop will increase coverage by 79.37%.
The diff coverage is n/a.

Impacted file tree graph

@@             Coverage Diff              @@
##           develop    #3865       +/-   ##
============================================
+ Coverage    12.82%   92.19%   +79.37%     
============================================
  Files          620      620               
  Lines        14845    14840        -5     
  Branches      1847     1842        -5     
============================================
+ Hits          1904    13682    +11778     
+ Misses       12825      946    -11879     
- Partials       116      212       +96     
Flag Coverage Δ
#functional 6.11% <ø> (+<0.01%) ⬆️
#integration 9.56% <ø> (+<0.01%) ⬆️
#unit 90.61% <ø> (?)
Impacted Files Coverage Δ
packages/core-api/src/plugins/pagination/config.ts 100.00% <ø> (+25.00%) ⬆️
packages/core-api/src/plugins/pagination/ext.ts 100.00% <ø> (+29.09%) ⬆️
packages/core-api/src/plugins/rate-limit.ts 100.00% <ø> (+19.35%) ⬆️
packages/core-api/src/server.ts 100.00% <ø> (+20.93%) ⬆️
packages/core-p2p/src/hapi-nes/client.ts 2.83% <0.00%> (+2.83%) ⬆️
packages/core-p2p/src/hapi-nes/socket.ts 2.89% <0.00%> (+2.89%) ⬆️
packages/core-p2p/src/hapi-nes/listener.ts 3.93% <0.00%> (+3.93%) ⬆️
...ore-test-framework/src/app/generators/generator.ts 100.00% <0.00%> (+5.88%) ⬆️
packages/core-test-framework/src/utils/api.ts 97.34% <0.00%> (+6.19%) ⬆️
packages/core-api/src/controllers/locks.ts 100.00% <0.00%> (+9.52%) ⬆️
... and 559 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 4e7cca1...c035b02. Read the comment docs.

@air1one air1one merged commit 4f041b3 into develop Jul 2, 2020
@ghost ghost deleted the test/core-api/increase-coverage branch July 2, 2020 13:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants