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

feat: update toBeInTheDOM #25

Merged
merged 11 commits into from
Jul 5, 2018
Merged

feat: update toBeInTheDOM #25

merged 11 commits into from
Jul 5, 2018

Conversation

smacpherson64
Copy link
Collaborator

What:
In efforts to implement #3 : added .toContainElement and updated .toBeInTheDOM to allow containers.

Why:
The efforts were to implement the desired items from #3

How:
Added a to-contain-element.js functionality
Updated to-be-in-the-dom.js functionality to have an optional container.

Checklist:

  • Documentation
  • Tests
  • Ready to be merged
  • Added myself to contributors table

After working on this, it might be easier to reason about the tests if they were in separate files.

@smacpherson64 smacpherson64 changed the title Pr/update to be in the dom feat: update toBeInTheDOM Jul 4, 2018
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.

This is awesome! I'm going to leave the actual code review to @gnapse as he's the specialist here, but I'm excited about the prospect of this update!

@kentcdodds
Copy link
Member

We've got some merge conflicts here, probably because I merged your last PR. Could you fix those up please?

@smacpherson64
Copy link
Collaborator Author

smacpherson64 commented Jul 5, 2018 via email

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.

This is super!

@kentcdodds kentcdodds merged commit 8268764 into testing-library:master Jul 5, 2018
@smacpherson64 smacpherson64 deleted the pr/update-to-be-in-the-dom branch July 5, 2018 15:06
@gnapse
Copy link
Member

gnapse commented Jul 5, 2018

🎉 This PR is included in version 1.5.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

This pull request was closed.
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