aboutsummaryrefslogtreecommitdiffstats
path: root/test/unit/components
diff options
context:
space:
mode:
authorDan Finlay <dan@danfinlay.com>2017-09-14 06:21:18 +0800
committerDan Finlay <dan@danfinlay.com>2017-09-14 06:21:18 +0800
commitc9585f166f3aebea29e7214026a942eb18e4884a (patch)
tree2a9b7579d021421264fa5976968913cf799f862d /test/unit/components
parentc17c6576930e9c536aa0164470a0505d8cfcbf75 (diff)
downloadtangerine-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
Diffstat (limited to 'test/unit/components')
-rw-r--r--test/unit/components/pending-tx-test.js5
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)