Skip to content

Commit

Permalink
Unmount the App in the default test (facebook#3511)
Browse files Browse the repository at this point in the history
  • Loading branch information
gaearon authored and placenamehere committed Nov 30, 2017
1 parent 4611599 commit 7842e32
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/react-scripts/template/src/App.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,5 @@ import App from './App';
it('renders without crashing', () => {
const div = document.createElement('div');
ReactDOM.render(<App />, div);
ReactDOM.unmountComponentAtNode(div);
});

0 comments on commit 7842e32

Please sign in to comment.