diff --git a/fixtures/legacy-jsx-runtimes/react-17/react-17.test.js b/fixtures/legacy-jsx-runtimes/react-17/react-17.test.js index 7e3c8b8b30646..a3687536499cc 100644 --- a/fixtures/legacy-jsx-runtimes/react-17/react-17.test.js +++ b/fixtures/legacy-jsx-runtimes/react-17/react-17.test.js @@ -318,9 +318,9 @@ it('should give context for PropType errors in nested components.', () => { } expect(() => ReactTestUtils.renderIntoDocument()).toErrorDev( 'Warning: Failed prop type: ' + - 'Invalid prop `color` of type `number` supplied to `MyComp`, ' + - 'expected `string`.\n' + - ' in color (at **)\n' + + 'Invalid prop `color` of type `number` supplied to `MyComp`, ' + + 'expected `string`.\n' + + ' in color (at **)\n' + ' in ParentComp (at **)' ); });