Skip to content

Commit

Permalink
Unmount the App in the default test (#3511)
Browse files Browse the repository at this point in the history
  • Loading branch information
gaearon committed Nov 27, 2017
1 parent 770fdf4 commit 9af0422
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 9af0422

Please sign in to comment.