-
Notifications
You must be signed in to change notification settings - Fork 734
docs: add riot ecosystem plugin #296
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
kentcdodds
left a comment
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.
This is AWESOME! Just a few comments.
| expect(queryByTestId('count').textContent).toBe("10"); | ||
| }) | ||
|
|
||
| test('should add count when click add button text', async () => { |
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.
Does this test need to be async?
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.
Thanks, this async is unnecessary, I removed it
| import TestTag from './test.tag' | ||
|
|
||
| afterEach(() => { | ||
| cleanup() |
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.
Have you considered making this cleanup automatic (like React Testing Library)?
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.
This feature is awesome !
I don't pay attention to it when I use react-testing-library. It's easy to use.
I add this feature.
kentcdodds
left a comment
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.
Fantastic 💯
|
@all-contributors please add @ariesjia for docs |
|
I've put up a pull request to add @ariesjia! 🎉 |
No description provided.