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. 2
      test/unit/tx-controller-test.js

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

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

Loading…
Cancel
Save