From bd3070f77409de3207adbf3a27e72f2e9aa530f8 Mon Sep 17 00:00:00 2001 From: Andrew Clark Date: Thu, 2 Feb 2017 15:22:28 -0800 Subject: [PATCH] Revert change to test See: https://github.com/facebook/react/pull/8907#issuecomment-277111278 --- src/renderers/dom/__tests__/ReactDOMProduction-test.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/renderers/dom/__tests__/ReactDOMProduction-test.js b/src/renderers/dom/__tests__/ReactDOMProduction-test.js index 6414948871d1..67807e863553 100644 --- a/src/renderers/dom/__tests__/ReactDOMProduction-test.js +++ b/src/renderers/dom/__tests__/ReactDOMProduction-test.js @@ -185,7 +185,12 @@ describe('ReactDOMProduction', () => { var container = document.createElement('div'); ReactDOM.render(, container); - }).toThrowError('Minified React error #'); + }).toThrowError( + 'Minified React error #109; visit ' + + 'http://facebook.github.io/react/docs/error-decoder.html?invariant=109&args[]=Component' + + ' for the full message or use the non-minified dev environment' + + ' for full errors and additional helpful warnings.' + ); }); if (ReactDOMFeatureFlags.useFiber) {