diff --git a/src/isomorphic/classic/types/__tests__/ReactPropTypes-test.js b/src/isomorphic/classic/types/__tests__/ReactPropTypes-test.js index 1b6512c16892c2..e626f99131cb65 100644 --- a/src/isomorphic/classic/types/__tests__/ReactPropTypes-test.js +++ b/src/isomorphic/classic/types/__tests__/ReactPropTypes-test.js @@ -142,7 +142,7 @@ describe('ReactPropTypes', function() { typeCheckFail( PropTypes.arrayOf({ foo: PropTypes.string }), { foo: 'bar' }, - 'Invalid argument `testProp` supplied to `testComponent`, expected valid PropType.' + 'Property `testProp` of component `testComponent` has invalid PropType notation inside arrayOf.' ); }); @@ -473,7 +473,7 @@ describe('ReactPropTypes', function() { typeCheckFail( PropTypes.objectOf({ foo: PropTypes.string }), { foo: 'bar' }, - 'Invalid argument `testProp` supplied to `testComponent`, expected valid PropType.' + 'Property `testProp` of component `testComponent` has invalid PropType notation inside objectOf.' ); });