aboutsummaryrefslogtreecommitdiffstats
path: root/test/unit/actions/config_test.js
diff options
context:
space:
mode:
authorDan Finlay <dan@danfinlay.com>2017-03-09 07:19:33 +0800
committerDan Finlay <dan@danfinlay.com>2017-03-09 07:19:33 +0800
commite3f6c010abb5cec35910dc4ea83f451287d25f11 (patch)
treebcc8f6b5e70b136d45644ae56024b253086e8b64 /test/unit/actions/config_test.js
parent69d4aafc3e8fd62875e5da2c2c6c7b3bdac5bf9f (diff)
parent1fbe4a801a05523cbdf97f7d8491affb49ed9bc6 (diff)
downloadtangerine-wallet-browser-e3f6c010abb5cec35910dc4ea83f451287d25f11.tar
tangerine-wallet-browser-e3f6c010abb5cec35910dc4ea83f451287d25f11.tar.gz
tangerine-wallet-browser-e3f6c010abb5cec35910dc4ea83f451287d25f11.tar.bz2
tangerine-wallet-browser-e3f6c010abb5cec35910dc4ea83f451287d25f11.tar.lz
tangerine-wallet-browser-e3f6c010abb5cec35910dc4ea83f451287d25f11.tar.xz
tangerine-wallet-browser-e3f6c010abb5cec35910dc4ea83f451287d25f11.tar.zst
tangerine-wallet-browser-e3f6c010abb5cec35910dc4ea83f451287d25f11.zip
Get basic ENS working
& merge master into ENS branch.
Diffstat (limited to 'test/unit/actions/config_test.js')
-rw-r--r--test/unit/actions/config_test.js7
1 files changed, 4 insertions, 3 deletions
diff --git a/test/unit/actions/config_test.js b/test/unit/actions/config_test.js
index f851e4102..14198fa8a 100644
--- a/test/unit/actions/config_test.js
+++ b/test/unit/actions/config_test.js
@@ -11,6 +11,7 @@ describe ('config view actions', function() {
var initialState = {
metamask: {
rpcTarget: 'foo',
+ frequentRpcList: []
},
appState: {
currentView: {
@@ -32,13 +33,13 @@ describe ('config view actions', function() {
it('sets the state.metamask.rpcTarget property of the state to the action.value', function() {
const action = {
type: actions.SET_RPC_TARGET,
- value: 'bar',
+ value: 'foo',
}
var result = reducers(initialState, action)
assert.equal(result.metamask.provider.type, 'rpc')
- assert.equal(result.metamask.provider.rpcTarget, action.value)
+ assert.equal(result.metamask.provider.rpcTarget, 'foo')
})
})
-})
+})