diff options
author | frankiebee <frankie.diamond@gmail.com> | 2017-09-27 09:19:44 +0800 |
---|---|---|
committer | frankiebee <frankie.diamond@gmail.com> | 2017-09-27 09:19:44 +0800 |
commit | b05a6f89cb2c4de1e53d96f8cac01653a8165555 (patch) | |
tree | 31cfba2dd91f09c25772c616992c83f772fad7e0 | |
parent | 36ddaf220d24dcf9df183fdeb2eefaf791dfebac (diff) | |
download | tangerine-wallet-browser-b05a6f89cb2c4de1e53d96f8cac01653a8165555.tar.gz tangerine-wallet-browser-b05a6f89cb2c4de1e53d96f8cac01653a8165555.tar.zst tangerine-wallet-browser-b05a6f89cb2c4de1e53d96f8cac01653a8165555.zip |
fix tests
-rw-r--r-- | test/unit/tx-controller-test.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/unit/tx-controller-test.js b/test/unit/tx-controller-test.js index dd8b48684..9ffba31ee 100644 --- a/test/unit/tx-controller-test.js +++ b/test/unit/tx-controller-test.js @@ -25,7 +25,7 @@ describe('Transaction Controller', function () { networkStore: new ObservableStore(currentNetworkId), txHistoryLimit: 10, blockTracker: { getCurrentBlock: noop, on: noop, once: noop }, - accountTracker: { getState: noop }, + accountTracker: { store: {getState: noop} }, signTransaction: (ethTx) => new Promise((resolve) => { ethTx.sign(privKey) resolve() @@ -385,7 +385,7 @@ describe('Transaction Controller', function () { describe('#getBalance', function () { it('gets balance', function () { - sinon.stub(txController.ethStore, 'getState').callsFake(() => { + sinon.stub(txController.accountTracker.store, 'getState').callsFake(() => { return { accounts: { '0x1678a085c290ebd122dc42cba69373b5953b831d': { |