-
Notifications
You must be signed in to change notification settings - Fork 255
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
Update warnings #275
Update warnings #275
Conversation
This pull request is automatically built and testable in CodeSandbox. To see build info of the built libraries, click here or the icon next to each commit SHA. Latest deployment of this branch, based on commit 8972a8a:
|
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.
This is a quality improvement. Thank you! 🚢
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.
Looks good 💯
Just added one small note.
packages/core/tests/index.test.ts
Outdated
expect(console.warn).toHaveBeenCalledWith( | ||
`The property "color" with media query ${mediaString} can cause a specificity issue. You should create a breakpoint` | ||
); | ||
expect(console.warn).toHaveBeenCalled(); |
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.
I think we should check the message here just so that this doesn't catch some other random warning by a mistake
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.
Done!
Some updates to our
console.warn
'scss
prop: removed. Its raising too many questions and we don't have enough data for it. We'll consider re-adding when benchmarks are done (Benchmarking #261)