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
0
To reproduce:
testSelector('foo', 0);
The expected value is [data-test-foo="0"]. The actual value is [data-test-foo].
[data-test-foo="0"]
[data-test-foo]
Workaround: convert to a string:
testSelector('foo', `${0}`);
I ran into this because I have a small helper that wraps this and passes in an ID, so:
mySelector = id => testSelector('foo', id);
This works normally, unless the id is 0.
id
The text was updated successfully, but these errors were encountered:
Thanks for reporting - should be pretty easy to fix if you (or anyone) wants to submit a PR.
Sorry, something went wrong.
value
No branches or pull requests
To reproduce:
The expected value is
[data-test-foo="0"]
. The actual value is[data-test-foo]
.Workaround: convert to a string:
I ran into this because I have a small helper that wraps this and passes in an ID, so:
This works normally, unless the
id
is 0.The text was updated successfully, but these errors were encountered: