aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/components/transaction-status/tests
diff options
context:
space:
mode:
Diffstat (limited to 'ui/app/components/transaction-status/tests')
-rw-r--r--ui/app/components/transaction-status/tests/transaction-status.component.test.js33
1 files changed, 0 insertions, 33 deletions
diff --git a/ui/app/components/transaction-status/tests/transaction-status.component.test.js b/ui/app/components/transaction-status/tests/transaction-status.component.test.js
deleted file mode 100644
index f4ddc9206..000000000
--- a/ui/app/components/transaction-status/tests/transaction-status.component.test.js
+++ /dev/null
@@ -1,33 +0,0 @@
-import React from 'react'
-import assert from 'assert'
-import { mount } from 'enzyme'
-import TransactionStatus from '../transaction-status.component'
-import Tooltip from '../../tooltip-v2'
-
-describe('TransactionStatus Component', () => {
- it('should render APPROVED properly', () => {
- const wrapper = mount(
- <TransactionStatus
- statusKey="approved"
- title="test-title"
- />,
- { context: { t: str => str.toUpperCase() } }
- )
-
- assert.ok(wrapper)
- assert.equal(wrapper.text(), 'APPROVED')
- assert.equal(wrapper.find(Tooltip).props().title, 'test-title')
- })
-
- it('should render SUBMITTED properly', () => {
- const wrapper = mount(
- <TransactionStatus
- statusKey="submitted"
- />,
- { context: { t: str => str.toUpperCase() } }
- )
-
- assert.ok(wrapper)
- assert.equal(wrapper.text(), 'PENDING')
- })
-})