Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: callstack/react-native-testing-library
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v8.0.0
Choose a base ref
...
head repository: callstack/react-native-testing-library
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v9.0.0-alpha.0
Choose a head ref
  • 2 commits
  • 18 files changed
  • 5 contributors

Commits on Nov 23, 2021

  1. feat(breaking): add text match options a.k.a string precision API (#554)

    * Add TextMatch options to getByAPI
    
    * Add TextMatch options to queryByAPI
    
    * Add TextMatch options to findByAPI
    
    * Add tests covering new TextMatch options
    
    * Add documentation and examples for TextMatch options
    
    * Implement text match normalization customization
    
    * Implement tests for normalization options
    
    * Add text normalization docs
    
    * Refactor typings
    
    * Add export for getDefaultNormalizer function
    
    * Remove undocumented config for normalizer function
    
    * Update website/docs/Queries.md
    
    Co-authored-by: Maciej Jastrzebski <[email protected]>
    
    * BREAKING: make findBy* queries arguments order compatible with RTL
    
    * Fix tests for findBy queries after changing their API
    
    * Fix matching nested Text components with queryOptions exact set to true
    
    * Remove recursion matching for *byText APIs
    
    * Reuse getAllByText in getByText
    
    * Add Textmatch options to *byTestId
    
    * fix: types for getDefaultNormalizer
    
    * refactor: remove makeNormalizer and use getDefaultNormalizer() instead
    
    * refactor: change params position and description for matches
    
    * refactor: move & remove duplicated tests after merge
    
    * Make waitForOptions param change non breaking change
    
    * chore: cleanup and type fixups
    
    * tests: update snapshots
    
    * chore: use default arg value for normalizer
    
    * Restore mock after use
    
    * fix: wrong snapshot update with outdated deps
    
    Co-authored-by: Rafał Zakrzewski <[email protected]>
    Co-authored-by: Michał Pierzchała <[email protected]>
    Co-authored-by: Maciej Jastrzebski <[email protected]>
    Co-authored-by: Damian Sznajder <[email protected]>
    5 people authored Nov 23, 2021
    Configuration menu
    Copy the full SHA
    31ef0b9 View commit details
    Browse the repository at this point in the history
  2. v9.0.0-alpha.0

    thymikee committed Nov 23, 2021
    Configuration menu
    Copy the full SHA
    5178f5e View commit details
    Browse the repository at this point in the history
Loading