From 4562e41d33dfe81e305c20583983fba528ee1a9d Mon Sep 17 00:00:00 2001 From: Kevin Serrano Date: Tue, 7 Mar 2017 16:10:06 -0800 Subject: Fix tests until new ones to-be-written. --- test/unit/actions/config_test.js | 17 ----------------- 1 file changed, 17 deletions(-) (limited to 'test/unit') 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) - }) }) }) -- cgit