From d62c5d1b364bda97eaa5147e757c6df988bf458e Mon Sep 17 00:00:00 2001 From: jbranchaud Date: Thu, 19 Oct 2017 11:41:16 -0500 Subject: [PATCH] Update link to Jest Expect docs 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. --- packages/react-scripts/template/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/react-scripts/template/README.md b/packages/react-scripts/template/README.md index 04c9a6a0d91..6447c1f0bf1 100644 --- a/packages/react-scripts/template/README.md +++ b/packages/react-scripts/template/README.md @@ -1302,7 +1302,7 @@ it('renders welcome message', () => { }); ``` -All Jest matchers are [extensively documented here](http://facebook.github.io/jest/docs/expect.html).
+All Jest matchers are [extensively documented here](http://facebook.github.io/jest/docs/en/expect.html).
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.