Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(TextMatch): upgrade dom-testing-library
- Changes queries to default to exact string matching - Can opt-in to fuzzy matches by passing { exact: true } as the last arg - Queries that search inner text collapse whitespace (queryByText, queryByLabelText) BREAKING CHANGE: Strings are considered to be an exact match now. You can opt-into fuzzy matching, but it's recommended to use a regex instead.
- Loading branch information