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

adding tests for endpoints #8

Merged
merged 9 commits into from
Aug 8, 2020
Merged

adding tests for endpoints #8

merged 9 commits into from
Aug 8, 2020

Conversation

prince-chrismc
Copy link
Owner

Uses a mock of the back-end API (run with express) to offer junk data and fake errors

@codecov
Copy link

codecov bot commented Aug 8, 2020

Codecov Report

Merging #8 into master will increase coverage by 16.69%.
The diff coverage is 100.00%.

Impacted file tree graph

@@             Coverage Diff             @@
##           master       #8       +/-   ##
===========================================
+ Coverage   56.75%   73.45%   +16.69%     
===========================================
  Files          14       14               
  Lines         111      113        +2     
===========================================
+ Hits           63       83       +20     
+ Misses         48       30       -18     
Impacted Files Coverage Δ
web-app/src/components/endpoints/List.js 100.00% <100.00%> (+100.00%) ⬆️
web-app/src/components/endpoints/User.js 100.00% <100.00%> (+100.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 7e36e98...506fd88. Read the comment docs.

@prince-chrismc prince-chrismc merged commit b2f5ff1 into master Aug 8, 2020
@prince-chrismc prince-chrismc deleted the test-endpoints branch August 8, 2020 20:32
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

1 participant