equal
deleted
inserted
replaced
2 import ReactDOM from 'react-dom'; |
2 import ReactDOM from 'react-dom'; |
3 import {Provider} from 'react-redux'; |
3 import {Provider} from 'react-redux'; |
4 |
4 |
5 import App from '../App'; |
5 import App from '../App'; |
6 import configureStore from '../store/configureStore'; |
6 import configureStore from '../store/configureStore'; |
|
7 |
|
8 beforeAll(() => { |
|
9 window.getSelection = () => { |
|
10 return { |
|
11 removeAllRanges: () => {} |
|
12 }; |
|
13 }; |
|
14 }); |
7 |
15 |
8 const store = configureStore(); |
16 const store = configureStore(); |
9 |
17 |
10 it('renders without crashing', () => { |
18 it('renders without crashing', () => { |
11 const div = document.createElement('div'); |
19 const div = document.createElement('div'); |