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: Fix links to Jest docs #466

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ Import `@testing-library/jest-dom` once (for instance in your [tests setup
file][]) and you're good to go:

[tests setup file]:
https://jestjs.io/docs/en/configuration.html#setupfilesafterenv-array
https://jestjs.io/docs/configuration#setupfilesafterenv-array

```javascript
// In your own jest-setup.js (or any other name)
Expand Down Expand Up @@ -524,7 +524,7 @@ This allows you to assert that an element has the expected

You can pass the exact string of the expected accessible description, or you can
make a partial match passing a regular expression, or by using
[expect.stringContaining](https://jestjs.io/docs/en/expect.html#expectnotstringcontainingstring)/[expect.stringMatching](https://jestjs.io/docs/en/expect.html#expectstringmatchingstring-regexp).
[expect.stringContaining](https://jestjs.io/docs/expect#expectstringcontainingstring)/[expect.stringMatching](https://jestjs.io/docs/expect#expectstringmatchingstring--regexp).

#### Examples

Expand Down Expand Up @@ -573,7 +573,7 @@ to assert that form elements and buttons are properly labelled.

You can pass the exact string of the expected accessible name, or you can make a
partial match passing a regular expression, or by using
[expect.stringContaining](https://jestjs.io/docs/en/expect.html#expectnotstringcontainingstring)/[expect.stringMatching](https://jestjs.io/docs/en/expect.html#expectstringmatchingstring-regexp).
[expect.stringContaining](https://jestjs.io/docs/expect#expectstringcontainingstring)/[expect.stringMatching](https://jestjs.io/docs/expect#expectstringmatchingstring--regexp).

#### Examples

Expand Down Expand Up @@ -610,7 +610,7 @@ toHaveAttribute(attr: string, value?: any)
This allows you to check whether the given element has an attribute or not. You
can also optionally check that the attribute has a specific expected value or
partial match using
[expect.stringContaining](https://jestjs.io/docs/en/expect.html#expectnotstringcontainingstring)/[expect.stringMatching](https://jestjs.io/docs/en/expect.html#expectstringmatchingstring-regexp)
[expect.stringContaining](https://jestjs.io/docs/expect#expectstringcontainingstring)/[expect.stringMatching](https://jestjs.io/docs/expect#expectstringmatchingstring--regexp).

#### Examples

Expand Down