-
Notifications
You must be signed in to change notification settings - Fork 3
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
chore: fixed rounded prop and added tests to datepicker #580
Conversation
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.
Looking good, just a couple comments
rounded: { | ||
input: ` | ||
border-radius: 0.25em; | ||
`, | ||
}, |
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.
Can we add this to the global style object instead of the DatePicker
component specifically? Or will that break other components' styles?
import '@testing-library/jest-dom/extend-expect'; | ||
import 'regenerator-runtime/runtime'; | ||
import { changeSelectorToObject } from '../../bcgov-theme/utils/test-helpers'; |
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.
Might be good to move the test-helpers
somewhere more general if we're going to be using them in multiple packages, but that can be future tech debt consideration
Forgot to mention earlier, if you put the issue number in the PR description after "Fixes #", then the issue will automatically close and update the board when the PR is merged |
c9129b0
to
54c7652
Compare
Fixes #562
Proposed Changes