Skip to content

Tags: ReactDOM/react-testing-library

Tags

v1.9.3

Toggle v1.9.3's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
fix(extend-expect): remove expect import

Closes testing-library#34

v1.9.2

Toggle v1.9.2's commit message
fix(jest-matchers): message should be function and added test cases f…

…or the coverage as well (testing-library#32)

v1.9.1

Toggle v1.9.1's commit message
fix(textMatch): if the textToMatch is not a string then it wont match

v1.9.0

Toggle v1.9.0's commit message
feat(getByAltText): add a new query utility

v1.8.2

Toggle v1.8.2's commit message
fix(wait): be explicit about the timeout and interval

v1.8.1

Toggle v1.8.1's commit message
fix(waitForExpect): rename to `wait`

We avoid a major version bump by continuing to export `waitForExpect` as
well.

v1.8.0

Toggle v1.8.0's commit message
feat(waitForExpect): add waitForExpect (testing-library#25)

* added waitForExpect with test

* added typescript and simplified version of the waitForExpect, used and exports its typings

* added initial notes about waitForExpect

* fixed styling

* minor stylistic change

* updated tests to remove the nesting

* updated readme

* fixed d .md syntax

* improved style


Closes testing-library#21

v1.7.1

Toggle v1.7.1's commit message
fix: add the missed file `"extend-expect.js"` to `package.json` (test…

…ing-library#28)

v1.7.0

Toggle v1.7.0's commit message
feat(matchers): add custom jest matchers (testing-library#13)

* Improving API's for testing.

* Improving Apis

* Adding all contributions

* Fixing wrong url

* Fixing review comments & making colorful assertions :)

* Removing unwanted changes

* Fixing review comments

* removing unwanted comments

* Adding test cases for the coverage

* removing commented code and making few changes to the contribution file

* Updating the readme

* Making line break changes

* Update README.md

v1.6.0

Toggle v1.6.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
feat(render): add new query capabilities for improved tests (testing-…

…library#17)

**What**: Add the following methods

- queryByText
- getByText
- queryByPlaceholderText
- getByPlaceholderText
- queryByLabelText
- getByLabelText

**Why**: Closes testing-library#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