Remove unnecessary test
This commit is contained in:
parent
030505fd04
commit
646e7b9986
|
@ -1,16 +0,0 @@
|
|||
import React from 'react';
|
||||
import Enzyme from 'enzyme';
|
||||
import Adapter from 'enzyme-adapter-react-16';
|
||||
import ViewWallet from 'containers/Tabs/ViewWallet';
|
||||
import shallowWithStore from '../utils/shallowWithStore';
|
||||
import { createMockStore } from 'redux-test-utils';
|
||||
|
||||
Enzyme.configure({ adapter: new Adapter() });
|
||||
|
||||
it('render snapshot', () => {
|
||||
const testState = {};
|
||||
const store = createMockStore(testState);
|
||||
const component = shallowWithStore(<ViewWallet />, store);
|
||||
|
||||
expect(component).toMatchSnapshot();
|
||||
});
|
|
@ -1,34 +0,0 @@
|
|||
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
||||
|
||||
exports[`render snapshot 1`] = `
|
||||
<Connect(TabSection)>
|
||||
<section
|
||||
className="container"
|
||||
>
|
||||
<div
|
||||
className="tab-content"
|
||||
>
|
||||
<article
|
||||
className="tab-pane active"
|
||||
>
|
||||
<article
|
||||
className="collapse-container"
|
||||
>
|
||||
<div>
|
||||
<h1>
|
||||
View Wallet Info
|
||||
</h1>
|
||||
</div>
|
||||
<div>
|
||||
<p>
|
||||
<Translate
|
||||
translationKey="VIEWWALLET_Subtitle"
|
||||
/>
|
||||
</p>
|
||||
</div>
|
||||
</article>
|
||||
</article>
|
||||
</div>
|
||||
</section>
|
||||
</Connect(TabSection)>
|
||||
`;
|
Loading…
Reference in New Issue