Skip to content

feat: more tsx tabs in RTL setup doc #828

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 6 commits into from
Jul 6, 2021

Conversation

Liadshiran
Copy link
Contributor

As proposed in #696 and started with #700, I added the rest of the code snippets examples in Typescript for the Setup doc of react testing library.

@pedroapfilho
Copy link
Contributor

Could you check these conflicts @Liadshiran

@Liadshiran Liadshiran force-pushed the feat/more-tsx-tabs branch from d6d2a21 to d0ee4ed Compare July 6, 2021 07:34
@@ -79,6 +79,7 @@ export { customRender as render }

```tsx title="test-utils.tsx"
import React, { FC, ReactElement } from 'react'
import { Omit } from 'react-redux'
Copy link
Member

@MatanBobi MatanBobi Jul 6, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@MatanBobi
Copy link
Member

Thanks for taking the time @Liadshiran!
I left one comment :)

@MatanBobi
Copy link
Member

MatanBobi commented Jul 6, 2021

And also, here
I think we should also omit wrapper..

@Liadshiran
Copy link
Contributor Author

I added wrapper and removed queries which seemed redundant from the Omit type

@MatanBobi MatanBobi merged commit e596b05 into testing-library:main Jul 6, 2021
@MatanBobi
Copy link
Member

Thanks @Liadshiran and @pedroapfilho! :)

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.

3 participants