Skip to content

Commit

Permalink
Showcase failing scenario for facebook#1052
Browse files Browse the repository at this point in the history
The error I get on node v6.7.0 is visible in this gist:
https://gist.github.com/valscion/25989e714380f2eabe52d170d6ca6f41
  • Loading branch information
valscion committed Nov 17, 2016
1 parent 5cd0933 commit 9efbc7c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions packages/react-scripts/template/src/App.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -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(<App />, div);
});

0 comments on commit 9efbc7c

Please sign in to comment.