From f067c446162e8df30364d3df6357b1cc725e8f44 Mon Sep 17 00:00:00 2001 From: Dan Abramov Date: Mon, 27 Nov 2017 22:32:57 +0000 Subject: [PATCH] Unmount the App in the default test (#3511) --- template/src/App.test.js | 1 + 1 file changed, 1 insertion(+) diff --git a/template/src/App.test.js b/template/src/App.test.js index b84af98d720..a754b201bf9 100644 --- a/template/src/App.test.js +++ b/template/src/App.test.js @@ -5,4 +5,5 @@ import App from './App'; it('renders without crashing', () => { const div = document.createElement('div'); ReactDOM.render(, div); + ReactDOM.unmountComponentAtNode(div); });