aboutsummaryrefslogtreecommitdiffstats
path: root/test/unit/actions/config_test.js
diff options
context:
space:
mode:
authorDan Finlay <flyswatter@users.noreply.github.com>2017-03-09 02:16:50 +0800
committerGitHub <noreply@github.com>2017-03-09 02:16:50 +0800
commit67c3126e63aa073d4426b751004c357ee7ed7d60 (patch)
tree815f163d7983225c56a165dd26b7bc33d96bdad1 /test/unit/actions/config_test.js
parent92b8443824bffca219b146028d5685e6aa1ffabf (diff)
parent26cac57838edc0783e42350d71c45d989329cf2a (diff)
downloadtangerine-wallet-browser-67c3126e63aa073d4426b751004c357ee7ed7d60.tar
tangerine-wallet-browser-67c3126e63aa073d4426b751004c357ee7ed7d60.tar.gz
tangerine-wallet-browser-67c3126e63aa073d4426b751004c357ee7ed7d60.tar.bz2
tangerine-wallet-browser-67c3126e63aa073d4426b751004c357ee7ed7d60.tar.lz
tangerine-wallet-browser-67c3126e63aa073d4426b751004c357ee7ed7d60.tar.xz
tangerine-wallet-browser-67c3126e63aa073d4426b751004c357ee7ed7d60.tar.zst
tangerine-wallet-browser-67c3126e63aa073d4426b751004c357ee7ed7d60.zip
Merge branch 'master' into kumavis-patch-1
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')
})
})
-})
+})