Skip to content

Commit ca084a3

Browse files
committed
pass app test
1 parent 612234e commit ca084a3

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/app/__tests__/index.test.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
import React from 'react';
22
import ReactDOM from 'react-dom';
3-
import App from './components/App';
3+
import App from '../components/App';
44

55
it('renders without crashing', () => {
6-
ReactDOM.render(<App />, document.getElementById('root'));
6+
const root = document.createElement('root');
7+
ReactDOM.render(<App />, root);
78
})

0 commit comments

Comments
 (0)