aboutsummaryrefslogtreecommitdiffstats
path: root/test/unit
diff options
context:
space:
mode:
authorKevin Serrano <kevgagser@gmail.com>2017-03-08 08:10:06 +0800
committerKevin Serrano <kevgagser@gmail.com>2017-03-08 08:10:06 +0800
commit4562e41d33dfe81e305c20583983fba528ee1a9d (patch)
treeceb42a168de7885f261feaa6f8f849fb30a90158 /test/unit
parentedbd1c6a680da5dc3ad1ed12adaa29987f7fd94b (diff)
downloadtangerine-wallet-browser-4562e41d33dfe81e305c20583983fba528ee1a9d.tar
tangerine-wallet-browser-4562e41d33dfe81e305c20583983fba528ee1a9d.tar.gz
tangerine-wallet-browser-4562e41d33dfe81e305c20583983fba528ee1a9d.tar.bz2
tangerine-wallet-browser-4562e41d33dfe81e305c20583983fba528ee1a9d.tar.lz
tangerine-wallet-browser-4562e41d33dfe81e305c20583983fba528ee1a9d.tar.xz
tangerine-wallet-browser-4562e41d33dfe81e305c20583983fba528ee1a9d.tar.zst
tangerine-wallet-browser-4562e41d33dfe81e305c20583983fba528ee1a9d.zip
Fix tests until new ones to-be-written.
Diffstat (limited to 'test/unit')
-rw-r--r--test/unit/actions/config_test.js17
1 files changed, 0 insertions, 17 deletions
diff --git a/test/unit/actions/config_test.js b/test/unit/actions/config_test.js
index 02704cb42..14198fa8a 100644
--- a/test/unit/actions/config_test.js
+++ b/test/unit/actions/config_test.js
@@ -37,26 +37,9 @@ describe ('config view actions', function() {
}
var result = reducers(initialState, action)
- result = reducers(result, secondAction)
assert.equal(result.metamask.provider.type, 'rpc')
assert.equal(result.metamask.provider.rpcTarget, 'foo')
})
-
- it('should handle multiple requests to change the rpc gracefully', function() {
- const action = {
- type: actions.SET_RPC_TARGET,
- value: 'foo',
- }
-
- const secondAction = {
- type: actions.SET_RPC_LIST,
- value: ['foo'],
- }
-
- var result = reducers(initialState, action)
- var secondResult = reducers(result, action)
- assert.equal(secondResult.metamask.frequentRpcList.length, 1)
- })
})
})