From 0cbbf8936641a29985abad5e0112f4050af6dfbe Mon Sep 17 00:00:00 2001 From: Backstroke Date: Tue, 17 Oct 2017 14:14:29 -0400 Subject: [PATCH] Update from upstream repo facebookincubator/create-react-app@master (#4) * `react-error-overlay` has no dependencies now (#3263) * `react-error-overlay` has no dependencies now (it's bundled) * Use babel 6 for now * Add external links to deployment services (#3265) * Add warning when using `react-error-overlay` in production (#3264) * Add a warning when running minified * Add more robust check * Update index.js * Use production React version for bundled overlay (#3267) * Use production React version * We cannot strip our own checks if production * Keep the sourcemap during minify * Prevent devtools pollution * Add some comments * sigh * Fix dead link to Jest "expect" docs (#3289) Closes #3291 --- 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 61f32665867..9948f499c04 100644 --- a/packages/react-scripts/template/README.md +++ b/packages/react-scripts/template/README.md @@ -1235,7 +1235,7 @@ it('sums numbers', () => { }); ``` -All `expect()` matchers supported by Jest are [extensively documented here](http://facebook.github.io/jest/docs/expect.html).
+All `expect()` matchers supported by Jest are [extensively documented here](https://facebook.github.io/jest/docs/en/expect.html#content).
You can also use [`jest.fn()` and `expect(fn).toBeCalled()`](http://facebook.github.io/jest/docs/expect.html#tohavebeencalled) to create “spies” or mock functions. ### Testing Components