mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
Fix test references
This commit is contained in:
parent
128cf40f91
commit
f128240e7f
@ -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()
|
||||||
@ -431,4 +431,4 @@ describe('Transaction Controller', function () {
|
|||||||
}).catch(done)
|
}).catch(done)
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
Loading…
x
Reference in New Issue
Block a user