We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Fantastic package however, I seem to have hit a snug trying to set focus and find available options.
// select-component.svelte
<Select options={[ { value: 'val-1', label: 'label 1'}, { value: 'val-2', label: 'label 2'} ]} placeholder="placeholder text" />
//select-component.test.ts
const selectInput = getByPlaceholderText('placeholder text'); expect(selectInput).toBeTruthy(); // passed await fireEvent.focus(selectInput); expect(getByText('label 1')).toBeTruthy(); // failed
Would be great to have a small example on how to test
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Fantastic package however, I seem to have hit a snug trying to set focus and find available options.
// select-component.svelte
//select-component.test.ts
Would be great to have a small example on how to test
The text was updated successfully, but these errors were encountered: