Skip to content

Commit 9af0422

Browse files
authored
Unmount the App in the default test (#3511)
1 parent 770fdf4 commit 9af0422

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/react-scripts/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)