text: import React from 'react';
  import { connect } from 'react-redux';
  import { shallowWithState } from 'enzyme-redux';
  
  import TransactionAmount from '../index';
  
  describe('<TransactionAmount />', () => {
    const ReactComponent = () => <TransactionAmount />;
    it('should render <TransactionAmount />', () => {
      const expectedState = { mockedStated: true };
      const mapStateToProps = state => ({
        state,
      });
      const ConnectedComponent = connect(mapStateToProps)(ReactComponent);
      const component = shallowWithState(<ConnectedComponent />, expectedState);
      expect(component.props().state).toBe(expectedState);
    });
  });
  