Skip to content

Conversation

GlebIrovich
Copy link
Contributor

@GlebIrovich GlebIrovich commented Mar 24, 2021

This PR is meant to fix an issue mentioned here.

The problem was that defineProperty would overwrite original setter.

Solution is to first retrieve that original setter and make sure it's invoked.

Copy link
Member

@timdeschryver timdeschryver 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 great, thanks!

@timdeschryver timdeschryver merged commit 0143973 into testing-library:master Mar 25, 2021
@GlebIrovich
Copy link
Contributor Author

@timdeschryver when do you think we can have a patch?

@timdeschryver
Copy link
Member

In a few seconds, it's being released as we speak 😉

@github-actions
Copy link

🎉 This PR is included in version 10.4.2 🎉

The release is available on:

Your semantic-release bot 📦🚀

@timdeschryver
Copy link
Member

@all-contributors please add @GlebIrovich for code, tests

@allcontributors
Copy link
Contributor

@timdeschryver

I've put up a pull request to add @GlebIrovich! 🎉

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