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: testing-library/react-testing-library
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v1.5.0
Choose a base ref
...
head repository: testing-library/react-testing-library
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v1.6.0
Choose a head ref
  • 2 commits
  • 16 files changed
  • 2 contributors

Commits on Mar 22, 2018

  1. docs: add FAQ section about how flushPromises work (closes #11) (#15)

    * Add FAQ section about how flushPromises work
    
    * Some subtle changes
    gnapse authored and Kent C. Dodds committed Mar 22, 2018
    Configuration menu
    Copy the full SHA
    2eb804a View commit details
    Browse the repository at this point in the history

Commits on Mar 23, 2018

  1. feat(render): add new query capabilities for improved tests (#17)

    **What**: Add the following methods
    
    - queryByText
    - getByText
    - queryByPlaceholderText
    - getByPlaceholderText
    - queryByLabelText
    - getByLabelText
    
    **Why**: Closes #16
    
    These will really improve the usability of this module. These also align much better with the guiding principles 👍
    
    **How**:
    
    - Created a `queries.js` file where we have all the logic for the queries and their associated getter functions
    - Migrate tests where it makes sense
    - Update docs considerably.
    
    **Checklist**:
    
    * [x] Documentation
    * [x] Tests
    * [x] Ready to be merged <!-- In your opinion, is this ready to be merged as soon as it's reviewed? -->
    * [ ] Added myself to contributors table N/A
    Kent C. Dodds authored Mar 23, 2018
    Configuration menu
    Copy the full SHA
    12c7ed1 View commit details
    Browse the repository at this point in the history
Loading