Skip to content

Commit

Permalink
Update link to Jest Expect docs (#3303)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
jbranchaud authored and Timer committed Oct 19, 2017
1 parent 1a3017b commit a0c515c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/react-scripts/template/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1302,7 +1302,7 @@ it('renders welcome message', () => {
});
```

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

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.
Expand Down

0 comments on commit a0c515c

Please sign in to comment.