Skip to content

Conversation

eps1lon
Copy link
Member

@eps1lon eps1lon commented Oct 29, 2019

What:

Make default value of hidden in ByRole configurable via configure({ defaultHidden: true })

Why:

For people who experienced a measureable non-tolerable performance hit from #352 or mostly deactivate this feature.

How:

Extracted from #392

Checklist:

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.

Perfect. Thanks!

@kentcdodds kentcdodds merged commit 7ffb941 into testing-library:master Oct 29, 2019
@eps1lon eps1lon deleted the feat/configure-hidden branch October 30, 2019 07:53
@kentcdodds
Copy link
Member

🎉 This PR is included in version 6.10.0 🎉

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
enhancement New feature or request released
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants