-
-
Notifications
You must be signed in to change notification settings - Fork 182
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
Simulation plugin #292
Simulation plugin #292
Conversation
Tests are failing. 😮 |
Oh yeah, fixed that. Was not even related to the PR :D |
).toEqual({ | ||
width: 20, | ||
backgroundColor: 'blue', | ||
color: 'blue' |
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.
Why is color: blue
winning over color: red
? Does the order of props in const style
matter? If so, it's kinda weird since object doesn't enforce order.
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.
In that case, I would just delete this test, since it's not necessarily deterministic.
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.
Yeah, right now it simply iterates all object values and resolves them straight in order. Could later improve that to first resolve medias, then pseudos, etc.
No description provided.