mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-22 18:00:18 +01:00
8075a39567
* Add transaction activity log component * Remove duplicate tx activity log snapshot. * Convert tx breakdown row to tlr. * Convert tx status component to tlr. * Convert User Preferenced Currency Display test to tlr. * Consolidate and convert user-preferenced-currency-input.test.js to tlr. * Consolidate and convert user-preferenced-token-input test to tlr.
21 lines
631 B
JavaScript
21 lines
631 B
JavaScript
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(
|
|
<UserPreferencedCurrencyInput />,
|
|
mockStore,
|
|
);
|
|
|
|
expect(container).toMatchSnapshot();
|
|
});
|
|
});
|
|
});
|