diff options
author | Thomas Huang <tmashuang@users.noreply.github.com> | 2018-10-10 22:32:26 +0800 |
---|---|---|
committer | kumavis <kumavis@users.noreply.github.com> | 2018-10-10 22:32:26 +0800 |
commit | b45479934dadd8a4177b51b81732ab15f3226b93 (patch) | |
tree | 8a0976496054c278e2014711ef7c4f289b26ad2e /test/data | |
parent | 70fc093b21f733b182654c38e51b14c6bf726cbc (diff) | |
download | tangerine-wallet-browser-b45479934dadd8a4177b51b81732ab15f3226b93.tar tangerine-wallet-browser-b45479934dadd8a4177b51b81732ab15f3226b93.tar.gz tangerine-wallet-browser-b45479934dadd8a4177b51b81732ab15f3226b93.tar.bz2 tangerine-wallet-browser-b45479934dadd8a4177b51b81732ab15f3226b93.tar.lz tangerine-wallet-browser-b45479934dadd8a4177b51b81732ab15f3226b93.tar.xz tangerine-wallet-browser-b45479934dadd8a4177b51b81732ab15f3226b93.tar.zst tangerine-wallet-browser-b45479934dadd8a4177b51b81732ab15f3226b93.zip |
test - add actions unit tests (#5369)
* Actions.spec.js
* Error handling tests
* Lint
Diffstat (limited to 'test/data')
-rw-r--r-- | test/data/2-state.json | 70 |
1 files changed, 70 insertions, 0 deletions
diff --git a/test/data/2-state.json b/test/data/2-state.json new file mode 100644 index 000000000..d41a403ff --- /dev/null +++ b/test/data/2-state.json @@ -0,0 +1,70 @@ +{ "isInitialized": true, + "provider": { "type": "rpc", "rpcTarget": "http://localhost:8545" }, + "network": "loading", + "accounts": { + "0x0dcd5d886577d5081b0c52e242ef29e70be3e7bc": { + "address": "0x0dcd5d886577d5081b0c52e242ef29e70be3e7bc", + "balance": "0x0" + }, + "0xec1adf982415d2ef5ec55899b9bfb8bc0f29251b": { + "address": "0xec1adf982415d2ef5ec55899b9bfb8bc0f29251b", + "balance": "0x0" + } + }, + "currentBlockGasLimit": "", + "unapprovedTxs": {}, + "selectedAddressTxList": [], + "computedBalances": {}, + "unapprovedMsgs": {}, + "unapprovedMsgCount": 0, + "unapprovedPersonalMsgs": {}, + "unapprovedPersonalMsgCount": 0, + "unapprovedTypedMessages": {}, + "unapprovedTypedMessagesCount": 0, + "isUnlocked": true, + "keyringTypes": [ "Simple Key Pair", "HD Key Tree" ], + "keyrings":[ + { "type": "HD Key Tree", + "accounts": [ + "0x0dcd5d886577d5081b0c52e242ef29e70be3e7bc" + ] + }, + { + "type": "Simple Key Pair", + "accounts": [ + "0xec1adf982415d2ef5ec55899b9bfb8bc0f29251b" + ] + } + ], + "frequentRpcList": [], + "currentAccountTab": "history", + "tokens": [], + "useBlockie": false, + "featureFlags": {}, + "currentLocale": null, + "identities": { + "0x0dcd5d886577d5081b0c52e242ef29e70be3e7bc": { + "name": "Account 1", + "address": "0x0dcd5d886577d5081b0c52e242ef29e70be3e7bc" + }, + "0xec1adf982415d2ef5ec55899b9bfb8bc0f29251b": { + "name": "Account 2", + "address": "0xec1adf982415d2ef5ec55899b9bfb8bc0f29251b" + } + }, + + "lostIdentities": {}, + "selectedAddress": "0x0dcd5d886577d5081b0c52e242ef29e70be3e7bc", + "recentBlocks": [], + "addressBook": [], + "currentCurrency": "usd", + "conversionRate": 288.45, + "conversionDate": 1506444677, + "nextUnreadNotice": null, + "noActiveNotices": true, + "shapeShiftTxList": [], + "infuraNetworkStatus": {}, + "lostAccounts": [], + "seedWords": "debris dizzy just program just float decrease vacant alarm reduce speak stadium", + "forgottenPassword": null +}
\ No newline at end of file |