-
Notifications
You must be signed in to change notification settings - Fork 58
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
Allow unsupported units in toRem / toPx functions #7
Conversation
RavenNumber of Findings: 0 |
6eb3fbb
to
c00f6e3
Compare
Current coverage is 96.97% (diff: 100%)@@ master #7 diff @@
==========================================
Files 26 26
Lines 1186 1192 +6
Methods 0 0
Messages 0 0
Branches 0 0
==========================================
+ Hits 1150 1156 +6
Misses 36 36
Partials 0 0
|
+ Since codecov is so bae as the kids would say
expect(() => toPx(new CssValue.parse('1em')), allOf( | ||
throwsArgumentError, | ||
throwsA(hasToStringValue(contains('must be a num or a String rem value')))) | ||
throwsA(hasToStringValue(contains('must be a rem num or a String px/rem value')))) | ||
); | ||
}); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Needs tests for passThroughUnsupportedUnits
, like those for toRem.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is it possible that Codecov actually wasn't bae?
cfdd199
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
touché greggers
One missing test, otherwise LGTM |
@greglittlefield-wf test added. |
+1 |
@leviwith-wf this is ready for merge |
QA +10 Merging |
RM +1 manually reviewed dependencies |
Allow unsupported units in toRem / toPx functions
Remove entire line in fix removing dupe prop, fix unawaited futures
This change allows consumers to begin utilizing
toRem
/toPx
methods within their components - without causing breaking API changes since their consumers may have been implementing the components using a unit likeem
.Mirrors WSD commit
0178dd
FYA @greglittlefield-wf @jacehensley-wf @clairesarsam-wf @joelleibow-wf