diff options
Diffstat (limited to 'ui/app/components/transaction-breakdown/tests')
-rw-r--r-- | ui/app/components/transaction-breakdown/tests/transaction-breakdown.component.test.js | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/ui/app/components/transaction-breakdown/tests/transaction-breakdown.component.test.js b/ui/app/components/transaction-breakdown/tests/transaction-breakdown.component.test.js deleted file mode 100644 index 4512b84f0..000000000 --- a/ui/app/components/transaction-breakdown/tests/transaction-breakdown.component.test.js +++ /dev/null @@ -1,33 +0,0 @@ -import React from 'react' -import assert from 'assert' -import { shallow } from 'enzyme' -import TransactionBreakdown from '../transaction-breakdown.component' - -describe('TransactionBreakdown Component', () => { - it('should render properly', () => { - const transaction = { - history: [], - id: 1, - status: 'confirmed', - txParams: { - from: '0x1', - gas: '0x5208', - gasPrice: '0x3b9aca00', - nonce: '0xa4', - to: '0x2', - value: '0x2386f26fc10000', - }, - } - - const wrapper = shallow( - <TransactionBreakdown - transaction={transaction} - className="test-class" - />, - { context: { t: (str1, str2) => str2 ? str1 + str2 : str1 } } - ) - - assert.ok(wrapper.hasClass('transaction-breakdown')) - assert.ok(wrapper.hasClass('test-class')) - }) -}) |