Skip to content
This repository has been archived by the owner on Mar 4, 2020. It is now read-only.

chore: introduce mergeThemes function #64

Merged
merged 4 commits into from
Aug 9, 2018
Merged

Conversation

levithomason
Copy link
Member

@levithomason levithomason commented Aug 8, 2018

This is another breakout of #16.

👉 The best way to review the features is to review mergeThemes-test.ts. This gives 100% coverage of all the functionality introduced to what will be the public API.


This PR introduces the mergeThemes function. This function is not used anywhere currently. It is introduced separately here to introduce the typings, tests, and patterns we'll use for merging themes in nested Providers.

The next phase will be implementing theme merging in nested Providers.

},
"esSpecCompliant": true
}
],
Copy link
Member Author

Choose a reason for hiding this comment

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

Fixes error with trailing comma after rest operator. Without this, TS requires a trailing comma but adding one is also a TS error.

@codecov
Copy link

codecov bot commented Aug 8, 2018

Codecov Report

Merging #64 into master will increase coverage by 0.01%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #64      +/-   ##
==========================================
+ Coverage   85.88%   85.89%   +0.01%     
==========================================
  Files          74       74              
  Lines        1098     1099       +1     
  Branches      215      215              
==========================================
+ Hits          943      944       +1     
  Misses        149      149              
  Partials        6        6
Impacted Files Coverage Δ
src/components/Input/Input.tsx 78% <ø> (ø) ⬆️
src/components/Label/Label.tsx 100% <100%> (ø) ⬆️
src/index.ts 100% <0%> (ø) ⬆️

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 5b72d95...4833bfe. Read the comment docs.

@levithomason levithomason merged commit f4b3831 into master Aug 9, 2018
@levithomason levithomason deleted the feat/merge-themes branch August 9, 2018 04:58
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant