Unverified Commit 9af04226 authored by Dan Abramov's avatar Dan Abramov Committed by GitHub
Browse files

Unmount the App in the default test (#3511)

parent 770fdf4b
Showing with 1 addition and 0 deletions
+1 -0
...@@ -5,4 +5,5 @@ import App from './App'; ...@@ -5,4 +5,5 @@ import App from './App';
it('renders without crashing', () => { it('renders without crashing', () => {
const div = document.createElement('div'); const div = document.createElement('div');
ReactDOM.render(<App />, div); ReactDOM.render(<App />, div);
ReactDOM.unmountComponentAtNode(div);
}); });
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment