diff options
author | Dan Finlay <dan@danfinlay.com> | 2017-09-14 06:21:18 +0800 |
---|---|---|
committer | Dan Finlay <dan@danfinlay.com> | 2017-09-14 06:21:18 +0800 |
commit | c9585f166f3aebea29e7214026a942eb18e4884a (patch) | |
tree | 2a9b7579d021421264fa5976968913cf799f862d | |
parent | c17c6576930e9c536aa0164470a0505d8cfcbf75 (diff) | |
download | tangerine-wallet-browser-c9585f166f3aebea29e7214026a942eb18e4884a.tar tangerine-wallet-browser-c9585f166f3aebea29e7214026a942eb18e4884a.tar.gz tangerine-wallet-browser-c9585f166f3aebea29e7214026a942eb18e4884a.tar.bz2 tangerine-wallet-browser-c9585f166f3aebea29e7214026a942eb18e4884a.tar.lz tangerine-wallet-browser-c9585f166f3aebea29e7214026a942eb18e4884a.tar.xz tangerine-wallet-browser-c9585f166f3aebea29e7214026a942eb18e4884a.tar.zst tangerine-wallet-browser-c9585f166f3aebea29e7214026a942eb18e4884a.zip |
Fix test
-rw-r--r-- | test/unit/components/pending-tx-test.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/unit/components/pending-tx-test.js b/test/unit/components/pending-tx-test.js index 22a98bc93..fdade1042 100644 --- a/test/unit/components/pending-tx-test.js +++ b/test/unit/components/pending-tx-test.js @@ -34,10 +34,15 @@ describe('PendingTx', function () { const renderer = ReactTestUtils.createRenderer() const newGasPrice = '0x77359400' + const computedBalances = {} + computedBalances[Object.keys(identities)[0]] = { + ethBalance: '0x00000000000000056bc75e2d63100000', + } const props = { identities, accounts: identities, txData, + computedBalances, sendTransaction: (txMeta, event) => { // Assert changes: const result = ethUtil.addHexPrefix(txMeta.txParams.gasPrice) |