Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
feat: Add component tests for components/ui/select.tsx #706
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
Uh oh!
There was an error while loading. Please reload this page.
feat: Add component tests for components/ui/select.tsx #706
Changes from all commits
28675edFile filter
Filter by extension
Conversations
Uh oh!
There was an error while loading. Please reload this page.
Jump to
Uh oh!
There was an error while loading. Please reload this page.
There are no files selected for viewing
Check failure on line 90 in __tests__/components/ui/select.test.tsx
__tests__/components/ui/select.test.tsx > placeholder > marks the trigger with data-placeholder when no value is selected
Check failure on line 100 in __tests__/components/ui/select.test.tsx
__tests__/components/ui/select.test.tsx > placeholder > does not show data-placeholder once a value is set via defaultValue
Check failure on line 121 in __tests__/components/ui/select.test.tsx
__tests__/components/ui/select.test.tsx > value selection > calls onValueChange with the selected item value when an option is clicked
Check failure on line 142 in __tests__/components/ui/select.test.tsx
__tests__/components/ui/select.test.tsx > value selection > removes data-placeholder from the trigger after a selection is made
Check failure on line 168 in __tests__/components/ui/select.test.tsx
__tests__/components/ui/select.test.tsx > value selection > displays the selected item label in the trigger after selection
Check failure on line 185 in __tests__/components/ui/select.test.tsx
__tests__/components/ui/select.test.tsx > disabled state > renders the trigger with the disabled attribute when the select is disabled
Check failure on line 192 in __tests__/components/ui/select.test.tsx
__tests__/components/ui/select.test.tsx > disabled state > marks the trigger with data-disabled when disabled
Check failure on line 201 in __tests__/components/ui/select.test.tsx
__tests__/components/ui/select.test.tsx > disabled state > does not open the popup when the trigger is clicked while disabled
Uh oh!
There was an error while loading. Please reload this page.