Skip to content

Conversation

@pustovalov
Copy link
Contributor

@pustovalov pustovalov commented Apr 1, 2020

Comment on lines 19 to 20
// adds special assertions like toHaveTextContent
import '@testing-library/jest-dom/extend-expect'
Copy link
Member

@afontcu afontcu Apr 1, 2020

Choose a reason for hiding this comment

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

If we remove jest-dom then we can't use toHaveTextContent on line 64 😇

Same thing with other import removals

@pustovalov pustovalov force-pushed the dom-testing-library branch from ec21f37 to 1a5ba09 Compare April 1, 2020 09:34
@pustovalov pustovalov force-pushed the dom-testing-library branch from 1a5ba09 to 80bc99e Compare April 1, 2020 09:38
Copy link
Member

@kentcdodds kentcdodds left a comment

Choose a reason for hiding this comment

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

Super! Thank you!

@kentcdodds kentcdodds merged commit cfecbff into testing-library:master Apr 1, 2020
@kentcdodds
Copy link
Member

@all-contributors please add @pustovalov for docs

@allcontributors
Copy link
Contributor

@kentcdodds

I've put up a pull request to add @pustovalov! 🎉

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