import React from 'react';
import ReactDOM from 'react-dom';
import RegisterForm  from './RegisterForm';
import { MemoryRouter } from 'react-router-dom';
import { shallow, mount } from "enzyme";

import { createStore } from 'redux';
import { Provider } from 'react-redux';


it('renders without crashing', () => {
    const div = document.createElement('div');
    const store = createStore(() => ({}));
    ReactDOM.render(
        <Provider store={store}>
            <RegisterForm/>
        </Provider>
        , div);
});


@@ -266,16 +266,65 @@
 redux';%0A
+import %7B MemoryRouter %7D from 'react-router-dom';%0A
 %0A%0Ait('re
@@ -467,16 +467,43 @@
 render(%0A
+        %3CMemoryRouter%3E%0A    
         
@@ -539,16 +539,20 @@
         
+   
+ 
 %3CRegiste
@@ -567,16 +567,20 @@
         
+    
 %3C/Provid
@@ -579,24 +579,48 @@
 %3C/Provider%3E%0A
+        %3C/MemoryRouter%3E%0A
         , di

fix registerform test?