Skip to content

Commit 9efbc7c

Browse files
committed
Showcase failing scenario for facebook#1052
The error I get on node v6.7.0 is visible in this gist: https://gist.github.com/valscion/25989e714380f2eabe52d170d6ca6f41
1 parent 5cd0933 commit 9efbc7c

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

packages/react-scripts/template/src/App.test.js

+6
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,12 @@ import ReactDOM from 'react-dom';
33
import App from './App';
44

55
it('renders without crashing', () => {
6+
const fn = ({ a, ...otherProps }) => otherProps;
7+
8+
fn({ a: 1, b: 2 });
9+
10+
console.log(fn({ a: 1, b: 2 }));
11+
612
const div = document.createElement('div');
713
ReactDOM.render(<App />, div);
814
});

0 commit comments

Comments
 (0)