Skip to content
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

Simulate is not defined #2

Open
ghassanmas opened this issue Jan 28, 2019 · 1 comment
Open

Simulate is not defined #2

ghassanmas opened this issue Jan 28, 2019 · 1 comment

Comments

@ghassanmas
Copy link

Simulate.click(getByText("-"));

Had to replace Simulate with fireEvent in order for the test to pass, since I got the error ReferenceError: Simulate is not defined

Was it intended to be there?

@oliverjam
Copy link
Contributor

Apologies, it looks like I missed one Simulate when I upgraded React Testing Library. I'll push a fix

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 a pull request may close this issue.

2 participants