Skip to content

Commit 76c5067

Browse files
jbranchaudTimer
authored andcommitted
Update link to Jest Expect docs (facebook#3303)
The existing link lands on a 'this page has moved' placeholder that doesn't redirect to the correct location. This PR replaces it with the currently working URL.
1 parent 1fbb09b commit 76c5067

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

template/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1302,7 +1302,7 @@ it('renders welcome message', () => {
13021302
});
13031303
```
13041304

1305-
All Jest matchers are [extensively documented here](http://facebook.github.io/jest/docs/expect.html).<br>
1305+
All Jest matchers are [extensively documented here](http://facebook.github.io/jest/docs/en/expect.html).<br>
13061306
Nevertheless you can use a third-party assertion library like [Chai](http://chaijs.com/) if you want to, as described below.
13071307

13081308
Additionally, you might find [jest-enzyme](https://github.com/blainekasten/enzyme-matchers) helpful to simplify your tests with readable matchers. The above `contains` code can be written simpler with jest-enzyme.

0 commit comments

Comments
 (0)