Skip to content

Commit f067c44

Browse files
authored
Unmount the App in the default test (facebook#3511)
1 parent 552d21f commit f067c44

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

template/src/App.test.js

+1
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,5 @@ import App from './App';
55
it('renders without crashing', () => {
66
const div = document.createElement('div');
77
ReactDOM.render(<App />, div);
8+
ReactDOM.unmountComponentAtNode(div);
89
});

0 commit comments

Comments
 (0)