We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5cd0933 commit 9efbc7cCopy full SHA for 9efbc7c
packages/react-scripts/template/src/App.test.js
@@ -3,6 +3,12 @@ import ReactDOM from 'react-dom';
3
import App from './App';
4
5
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
12
const div = document.createElement('div');
13
ReactDOM.render(<App />, div);
14
});
0 commit comments