From 9efbc7cbb97c9e6fd8c8be929e928185a1ceccd7 Mon Sep 17 00:00:00 2001 From: Vesa Laakso Date: Thu, 17 Nov 2016 15:57:34 +0200 Subject: [PATCH] Showcase failing scenario for #1052 The error I get on node v6.7.0 is visible in this gist: https://gist.github.com/valscion/25989e714380f2eabe52d170d6ca6f41 --- packages/react-scripts/template/src/App.test.js | 6 ++++++ 1 file changed, 6 insertions(+) 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); });