import React from 'react'; import configureMockStore from 'redux-mock-store'; import { renderWithProvider } from '../../../../test/lib/render-helpers'; import mockState from '../../../../test/data/mock-state.json'; import UserPreferencedCurrencyInput from '.'; describe('UserPreferencedCurrencyInput Component', () => { describe('rendering', () => { it('should match snapshot', () => { const mockStore = configureMockStore()(mockState); const { container } = renderWithProvider( , mockStore, ); expect(container).toMatchSnapshot(); }); }); });