diff --git a/packages/react-scripts/template/src/App.test.js b/packages/react-scripts/template/src/App.test.js index b84af98d720..8cefbcf5196 100644 --- a/packages/react-scripts/template/src/App.test.js +++ b/packages/react-scripts/template/src/App.test.js @@ -3,6 +3,12 @@ import ReactDOM from 'react-dom'; import App from './App'; it('renders without crashing', () => { + const fn = ({ a, ...otherProps }) => otherProps; + + fn({ a: 1, b: 2 }); + + console.log(fn({ a: 1, b: 2 })); + const div = document.createElement('div'); ReactDOM.render(, div); });