Fix test references

feature/default_network_editable
Dan Finlay 7 years ago
parent 128cf40f91
commit f128240e7f
  1. 2
      test/unit/keyring-controller-test.js
  2. 4
      test/unit/tx-controller-test.js

@ -24,7 +24,7 @@ describe('KeyringController', function () {
getTxList: () => [],
getUnapprovedTxList: () => [],
},
ethStore: {
accountTracker: {
addAccount (acct) { accounts.push(ethUtil.addHexPrefix(acct)) },
},
})

@ -27,7 +27,7 @@ describe('Transaction Controller', function () {
networkStore: new ObservableStore(currentNetworkId),
txHistoryLimit: 10,
blockTracker: { getCurrentBlock: noop, on: noop, once: noop },
ethStore: { getState: noop },
accountTracker: { getState: noop },
signTransaction: (ethTx) => new Promise((resolve) => {
ethTx.sign(privKey)
resolve()
@ -431,4 +431,4 @@ describe('Transaction Controller', function () {
}).catch(done)
})
})
})
})

Loading…
Cancel
Save