aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app
diff options
context:
space:
mode:
Diffstat (limited to 'ui/app')
-rw-r--r--ui/app/components/transaction-action/tests/transaction-action.component.test.js4
-rw-r--r--ui/app/constants/transactions.js4
2 files changed, 4 insertions, 4 deletions
diff --git a/ui/app/components/transaction-action/tests/transaction-action.component.test.js b/ui/app/components/transaction-action/tests/transaction-action.component.test.js
index bba997c20..158bc8dc4 100644
--- a/ui/app/components/transaction-action/tests/transaction-action.component.test.js
+++ b/ui/app/components/transaction-action/tests/transaction-action.component.test.js
@@ -34,7 +34,7 @@ describe('TransactionAction Component', () => {
assert.equal(wrapper.text(), '--')
})
- it('should render Outgoing', () => {
+ it('should render Sent Ether', () => {
const methodData = { data: {}, done: true, error: null }
const transaction = {
id: 1,
@@ -58,7 +58,7 @@ describe('TransactionAction Component', () => {
/>, { context: { tOrDefault }})
assert.equal(wrapper.find('.transaction-action').length, 1)
- assert.equal(wrapper.text(), 'outgoing')
+ assert.equal(wrapper.text(), 'sentEther')
})
it('should render Approved', () => {
diff --git a/ui/app/constants/transactions.js b/ui/app/constants/transactions.js
index da1d2e590..df6c4c8a4 100644
--- a/ui/app/constants/transactions.js
+++ b/ui/app/constants/transactions.js
@@ -11,10 +11,10 @@ export const TOKEN_METHOD_TRANSFER = 'transfer'
export const TOKEN_METHOD_APPROVE = 'approve'
export const TOKEN_METHOD_TRANSFER_FROM = 'transferfrom'
-export const SEND_ETHER_ACTION_KEY = 'outgoing'
+export const SEND_ETHER_ACTION_KEY = 'sentEther'
export const DEPLOY_CONTRACT_ACTION_KEY = 'contractDeployment'
export const APPROVE_ACTION_KEY = 'approve'
-export const SEND_TOKEN_ACTION_KEY = 'outgoing'
+export const SEND_TOKEN_ACTION_KEY = 'sentTokens'
export const TRANSFER_FROM_ACTION_KEY = 'transferFrom'
export const SIGNATURE_REQUEST_KEY = 'signatureRequest'
export const UNKNOWN_FUNCTION_KEY = 'unknownFunction'