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 committed Nov 27, 2017
1 parent 552d21f commit f067c44
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions 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 f067c44

Please sign in to comment.