| changeset 3 | 3b5d37d84cfe |
| parent 2 | b52921a63e77 |
| child 4 | 885a20cde527 |
| 2:b52921a63e77 | 3:3b5d37d84cfe |
|---|---|
1 import React from 'react'; |
|
2 import ReactDOM from 'react-dom'; |
|
3 import App from './App'; |
|
4 import {Provider} from 'react-redux'; |
|
5 |
|
6 import configureStore from './store/configure-store'; |
|
7 |
|
8 const store = configureStore(); |
|
9 |
|
10 it('renders without crashing', () => { |
|
11 const div = document.createElement('div'); |
|
12 ReactDOM.render( |
|
13 <Provider store={store}> |
|
14 <App /> |
|
15 </Provider>, |
|
16 div); |
|
17 }); |