Use default mock store in action tests (#8437)
A simple default store of `{ metamask: {} }` is now used for the actions tests. While I would prefer that any expectations about the store be included in each test, the mere existence of this `metamask` object seems like a fairly reasonable default, as it's (hopefully) impossible for it to be unset at runtime. The `2-state.json` test state file was deleted as well, as it was no longer used.feature/default_network_editable
parent
580a90d543
commit
78fc024636
@ -1,68 +0,0 @@ |
||||
{ "isInitialized": true, |
||||
"provider": { "type": "rpc", "rpcTarget": "http://localhost:8545" }, |
||||
"network": "loading", |
||||
"accounts": { |
||||
"0x0dcd5d886577d5081b0c52e242ef29e70be3e7bc": { |
||||
"address": "0x0dcd5d886577d5081b0c52e242ef29e70be3e7bc", |
||||
"balance": "0x0" |
||||
}, |
||||
"0xec1adf982415d2ef5ec55899b9bfb8bc0f29251b": { |
||||
"address": "0xec1adf982415d2ef5ec55899b9bfb8bc0f29251b", |
||||
"balance": "0x0" |
||||
} |
||||
}, |
||||
"currentBlockGasLimit": "", |
||||
"unapprovedTxs": {}, |
||||
"currentNetworkTxList": [], |
||||
"unapprovedMsgs": {}, |
||||
"unapprovedMsgCount": 0, |
||||
"unapprovedPersonalMsgs": {}, |
||||
"unapprovedPersonalMsgCount": 0, |
||||
"unapprovedDecryptMsgs": {}, |
||||
"unapprovedDecryptMsgCount": 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": [], |
||||
"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, |
||||
"infuraNetworkStatus": {}, |
||||
"seedWords": "debris dizzy just program just float decrease vacant alarm reduce speak stadium", |
||||
"forgottenPassword": null |
||||
} |
Loading…
Reference in new issue