-
Notifications
You must be signed in to change notification settings - Fork 727
docs: add TypeScript example for custom-queries.js #893
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
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.
Looks good to me, sorry for the nit comments.
docs/react-testing-library/setup.mdx
Outdated
@@ -155,6 +155,11 @@ elements by `data-cy`, a "test ID" convention mentioned in the | |||
[Cypress.io](https://docs.cypress.io/guides/references/best-practices.html#Selecting-Elements) | |||
documentation. | |||
|
|||
<Tabs groupId="test-utils" defaultValue="js" values={[ {label: 'Javascript', | |||
value: 'js'}, {label: 'Typescript', value: 'ts'}, ]}> |
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.
[Nit]
Maybe we should write Javascript
and Typescript
with a capital s
?
(Not sure we're following this rule in other places also, so this really isn't important)
@nickmccurdy Can we merge this? :) |
Use language branding
✅ Deploy Preview for testing-library ready!
To edit notification comments on pull requests, go to your Netlify site settings. |
Fix #889