| author | ymh <ymh.work@gmail.com> |
| Mon, 22 May 2017 14:34:35 +0200 | |
| changeset 1 | 431977d7c9a6 |
| permissions | -rw-r--r-- |
| 1 | 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 |
}); |