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

docs: add docs about defaultIgnore config #1088

Merged
merged 1 commit into from Jun 20, 2022

Conversation

robin-drexler
Copy link
Contributor

### `defaultIgnore`

The default value for the [`ignore` option](queries/bytext.mdx#ignore) used by
[`getByText`](queries/bytext.mdx). Defaults to `script, style`.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Now that I think about it: It's not just *ByText.This also affects the nodes we print in error messages.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@eps1lon do you have a specific wording you'd like me to put here? 👀

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@eps1lon I gave it a shot. 😅 What do you think?

@eps1lon eps1lon merged commit d250e75 into testing-library:main Jun 20, 2022
@eps1lon
Copy link
Member

eps1lon commented Jun 20, 2022

@all-contributors add @robin-drexler for docs

@allcontributors
Copy link
Contributor

@eps1lon

I've put up a pull request to add @robin-drexler! 🎉

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.

None yet

3 participants