Skip to content

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

Merged
merged 3 commits into from
Aug 9, 2022
Merged

docs: add TypeScript example for custom-queries.js #893

merged 3 commits into from
Aug 9, 2022

Conversation

nickserv
Copy link
Member

@nickserv nickserv commented Jul 20, 2021

Fix #889

@nickserv nickserv changed the title docs: add TypeScript example for custom-queries.js (fix #889) docs: add TypeScript example for custom-queries.js Jul 20, 2021
Copy link
Member

@MatanBobi MatanBobi left a 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.

@@ -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'}, ]}>
Copy link
Member

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)

@MatanBobi
Copy link
Member

@nickmccurdy Can we merge this? :)

Use language branding
@netlify
Copy link

netlify bot commented Aug 9, 2022

Deploy Preview for testing-library ready!

Name Link
🔨 Latest commit 7376aaa
🔍 Latest deploy log https://app.netlify.com/sites/testing-library/deploys/62f2a04d4a2d67000a7fc9c9
😎 Deploy Preview https://deploy-preview-893--testing-library.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@eps1lon eps1lon merged commit b6f8cf5 into main Aug 9, 2022
@eps1lon eps1lon deleted the fix-889 branch August 9, 2022 18:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

TS example of custom-queries.js
3 participants