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

Don't append target to body if target option is given #20

Merged
merged 1 commit into from
May 6, 2019
Merged

Don't append target to body if target option is given #20

merged 1 commit into from
May 6, 2019

Conversation

EmilTholin
Copy link
Contributor

The target is always appended to the DOM, regardless if the user supplied a target option or not. This PR makes it so we don't add it to the body if target is set.

@EmilTholin EmilTholin changed the title Don't append target to body if targe option is given Don't append target to body if target option is given May 5, 2019
@benmonro benmonro merged commit 508e45f into testing-library:master May 6, 2019
@benmonro
Copy link
Member

benmonro commented May 6, 2019

🎉 This PR is included in version 1.5.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

@EmilTholin EmilTholin deleted the target-body-append branch May 6, 2019 07:04
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