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
Similar to https://github.com/testing-library/jest-dom#tohavedescription.
I'm trying to use Testing Library with QUnit, and I think hasDescription() would fit really nice.
hasDescription()
Example:
<label for="email">Email</label> <input id="email" type="email" aria-describedby="emailMessage" /> <small id="emailMessage">Email is invalid</small>
assert.dom(getByLabelText("Email")).hasDescription("Email is invalid");
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Similar to https://github.com/testing-library/jest-dom#tohavedescription.
I'm trying to use Testing Library with QUnit, and I think
hasDescription()
would fit really nice.Example:
The text was updated successfully, but these errors were encountered: