Revert change to test
See: https://github.com/facebook/react/pull/8907#issuecomment-277111278
Andrew Clark committed
Feb 2, 2017 at 15:22 UTC
bd3070f77409de3207adbf3a27e72f2e9aa530f8
1 file changed
+6
-1
src/renderers/dom/__tests__/ReactDOMProduction-test.js
+6
-1
@@ -185,7 +185,12 @@ describe('ReactDOMProduction', () => {
185
186
var container = document.createElement('div');
187
ReactDOM.render(<Component />, container);
188
- }).toThrowError('Minified React error #');
188
+ }).toThrowError(
189
+ 'Minified React error #109; visit ' +
190
+ 'http://facebook.github.io/react/docs/error-decoder.html?invariant=109&args[]=Component' +
191
+ ' for the full message or use the non-minified dev environment' +
192
+ ' for full errors and additional helpful warnings.'
193
+ );
194
});
195
196
if (ReactDOMFeatureFlags.useFiber) {