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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set Test Coverage Threshold to 100% #17

Merged
merged 7 commits into from
Apr 20, 2019
Merged

Set Test Coverage Threshold to 100% #17

merged 7 commits into from
Apr 20, 2019

Conversation

zainfathoni
Copy link
Contributor

@zainfathoni zainfathoni commented Apr 20, 2019

What: This set test coverage threshold to 100%

Why: To avoid regression as much as possible

How: By setting coverageThreshold configuration in jest.config.js and (of course!) writing the test to reach 100% coverage, otherwise the CI build in this PR will fail for sure. 馃槄

Checklist:

  • Tests
  • Ready to be merged

@zainfathoni zainfathoni added the enhancement New feature or request label Apr 20, 2019
@zainfathoni zainfathoni added this to the MVP Launching milestone Apr 20, 2019
@zainfathoni zainfathoni requested a review from r17x April 20, 2019 15:39
@zainfathoni zainfathoni self-assigned this Apr 20, 2019
@zainfathoni zainfathoni added this to In progress in Infrastructure via automation Apr 20, 2019
@codecov
Copy link

codecov bot commented Apr 20, 2019

Codecov Report

Merging #17 into master will increase coverage by 42.1%.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff            @@
##           master    #17      +/-   ##
========================================
+ Coverage   57.89%   100%   +42.1%     
========================================
  Files           4      4              
  Lines          19     19              
  Branches        3      3              
========================================
+ Hits           11     19       +8     
+ Misses          8      0       -8
Impacted Files Coverage 螖
src/components/seo.js 100% <0%> (+12.5%) 猬嗭笍
src/components/image.js 100% <0%> (+100%) 猬嗭笍
src/components/layout.js 100% <0%> (+100%) 猬嗭笍

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 313085f...a84b4f3. Read the comment docs.

@zainfathoni zainfathoni moved this from In progress to Review in progress in Infrastructure Apr 20, 2019
Infrastructure automation moved this from Review in progress to Reviewer approved Apr 20, 2019
@zainfathoni zainfathoni merged commit 9722fd6 into master Apr 20, 2019
Infrastructure automation moved this from Reviewer approved to Done Apr 20, 2019
@zainfathoni zainfathoni deleted the feature/tests branch April 20, 2019 17:05
@r17x r17x mentioned this pull request Apr 20, 2019
43 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Development

Successfully merging this pull request may close these issues.

None yet

2 participants