mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-04 23:14:56 +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.
22 lines
599 B
JavaScript
22 lines
599 B
JavaScript
import React from 'react';
|
|
import { renderWithProvider } from '../../../../../test/lib/render-helpers';
|
|
import Button from '../../../ui/button';
|
|
import TransactionBreakdownRow from '.';
|
|
|
|
describe('TransactionBreakdownRow Component', () => {
|
|
it('should match snapshot', () => {
|
|
const props = {
|
|
title: 'test',
|
|
className: 'test-class',
|
|
};
|
|
|
|
const { container } = renderWithProvider(
|
|
<TransactionBreakdownRow {...props}>
|
|
<Button onClick={() => undefined}>Button</Button>
|
|
</TransactionBreakdownRow>,
|
|
);
|
|
|
|
expect(container).toMatchSnapshot();
|
|
});
|
|
});
|