Skip to content

Conversation

campbellr
Copy link
Contributor

What:

Fixed a minor typo in the examples that incorrectly called getElementById on document.body instead of document (Only the Document object has a getElementById method).

Why:

The example fails without the change.

How:

Checklist:

  • Documentation N/A
  • Tests N/A
  • Ready to be merged
  • Added myself to contributors table

Ryan Campbell added 2 commits October 20, 2018 19:23
The current example is broken because getElementById only works on
Document object, not the body.
@kentcdodds kentcdodds merged commit 91e8c5f into testing-library:master Oct 21, 2018
@kentcdodds
Copy link
Member

🎉 This PR is included in version 3.11.2 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants