Closed
Description
react-testing-library
version: 2.3.0node
version: v8.9.1npm
(oryarn
) version: yarn@1.6.0
What you did:
I am just testing out this lib to see if I want to propose a switch from enzyme and I'm having trouble with the most basic stuff.
What happened:
Simply attempting to render a text input, snapshot it, change the value and snapshot it again.
Reproduction repository: https://github.com/hally9k/react-testing-library-example
Problem description: Changing the value of the text input doesn't reflect in the snapshot or invoke the onChange handler.
Suggested solution: Explain to me what I'm missing as I clearly misunderstand something here.
Metadata
Metadata
Assignees
Labels
No labels