Skip to content
This repository has been archived by the owner on Jan 16, 2022. It is now read-only.

Install Component - Replaced class by func. comp #152

Merged
merged 8 commits into from
Oct 6, 2019

Conversation

priscilawebdev
Copy link
Contributor

Type: Refactor

The following has been addressed in the PR: #116

Unit or Functional tests are included in the PR?

Yes.

Description:

in order to use react hooks, in this PR I updated the Install component by changing it from a class to a functional component. I have also splitted it's content so that it is clearer.

@codecov
Copy link

codecov bot commented Oct 5, 2019

Codecov Report

Merging #152 into master will increase coverage by <.01%.
The diff coverage is 87.5%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #152      +/-   ##
==========================================
+ Coverage   82.97%   82.97%   +<.01%     
==========================================
  Files          97       97              
  Lines         928      934       +6     
  Branches      163      163              
==========================================
+ Hits          770      775       +5     
- Misses        141      143       +2     
+ Partials       17       16       -1
Impacted Files Coverage Δ
src/components/Install/Install.tsx 85.71% <85.71%> (+2.38%) ⬆️
src/components/Install/InstallListItem.tsx 88.88% <88.88%> (ø)

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 43a9628...a3ed582. Read the comment docs.

@juanpicado juanpicado self-requested a review October 5, 2019 18:30
Copy link
Member

@juanpicado juanpicado left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All installs says npm, perhaps we should check this scenario with a test.
Screen Shot 2019-10-05 at 8 45 14 PM

@priscilawebdev
Copy link
Contributor Author

@juanpicado good catch!! it should be fine now :-)

@juanpicado juanpicado self-requested a review October 6, 2019 14:54
Copy link
Member

@juanpicado juanpicado left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚀

@juanpicado juanpicado merged commit 9eb698f into master Oct 6, 2019
@delete-merged-branch delete-merged-branch bot deleted the refactor/116_convert_class_to_func_Install branch October 6, 2019 14:55
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants