| changeset 1 | 431977d7c9a6 |
| 0:d076a27e5631 | 1:431977d7c9a6 |
|---|---|
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 }); |