import React from 'react'; import { shallow } from 'enzyme'; import { Provider } from 'react-redux'; import configureMockStore from 'redux-mock-store'; import ManualBackupStep1 from './'; import { AppThemeKey } from '../../../util/theme/models'; const mockStore = configureMockStore(); const initialState = { user: { appTheme: AppThemeKey.light }, }; const store = mockStore(initialState); describe('ManualBackupStep1', () => { it('should render correctly', () => { const wrapper = shallow( , ); expect(wrapper).toMatchSnapshot(); }); });