aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/components/send_/tests/send-selectors-test-data.js
diff options
context:
space:
mode:
Diffstat (limited to 'ui/app/components/send_/tests/send-selectors-test-data.js')
-rw-r--r--ui/app/components/send_/tests/send-selectors-test-data.js45
1 files changed, 41 insertions, 4 deletions
diff --git a/ui/app/components/send_/tests/send-selectors-test-data.js b/ui/app/components/send_/tests/send-selectors-test-data.js
index bdea759fb..1a95b5f41 100644
--- a/ui/app/components/send_/tests/send-selectors-test-data.js
+++ b/ui/app/components/send_/tests/send-selectors-test-data.js
@@ -86,9 +86,42 @@ module.exports = {
},
},
'transactions': {},
- 'selectedAddressTxList': [],
+ 'selectedAddressTxList': [
+ {
+ 'id': 'mockTokenTx1',
+ 'txParams': {
+ 'to': '0x8d6b81208414189a58339873ab429b6c47ab92d3'
+ },
+ 'time': 1700000000000
+ },
+ {
+ 'id': 'mockTokenTx2',
+ 'txParams': {
+ 'to': '0xafaketokenaddress'
+ },
+ 'time': 1600000000000
+ },
+ {
+ 'id': 'mockTokenTx3',
+ 'txParams': {
+ 'to': '0x8d6b81208414189a58339873ab429b6c47ab92d3'
+ },
+ 'time': 1500000000000
+ },
+ {
+ 'id': 'mockEthTx1',
+ 'txParams': {
+ 'to': '0xd85a4b6a394794842887b8284293d69163007bbb'
+ },
+ 'time': 1400000000000
+ }
+ ],
'selectedTokenAddress': '0x8d6b81208414189a58339873ab429b6c47ab92d3',
- 'unapprovedMsgs': {},
+ 'unapprovedMsgs': {
+ '0xabc': { id: 'unapprovedMessage1', 'time': 1650000000000 },
+ '0xdef': { id: 'unapprovedMessage2', 'time': 1550000000000 },
+ '0xghi': { id: 'unapprovedMessage3', 'time': 1450000000000 },
+ },
'unapprovedMsgCount': 0,
'unapprovedPersonalMsgs': {},
'unapprovedPersonalMsgCount': 0,
@@ -116,7 +149,11 @@ module.exports = {
'provider': {
'type': 'testnet',
},
- 'shapeShiftTxList': [],
+ 'shapeShiftTxList': [
+ { id: 'shapeShiftTx1', 'time': 1675000000000 },
+ { id: 'shapeShiftTx2', 'time': 1575000000000 },
+ { id: 'shapeShiftTx3', 'time': 1475000000000 },
+ ],
'lostAccounts': [],
'send': {
'gasLimit': '0xFFFF',
@@ -158,7 +195,7 @@ module.exports = {
'txValue': 'de0b6b3a7640000',
'maxCost': 'de234b52e4a0800',
'gasPrice': '4a817c800',
- },
+ }
},
'currentLocale': 'en',
},