aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorDan Finlay <dan@danfinlay.com>2016-04-21 00:29:37 +0800
committerDan Finlay <dan@danfinlay.com>2016-04-21 00:29:37 +0800
commit532edf670e8c30db958765141974f3fb0f5ec44c (patch)
tree2a2eccc7fba9e98b6a69abe2cb74d793264d5ba4 /test
parent7455a0fa32850e46a3d7c84d39c549928274a248 (diff)
downloadtangerine-wallet-browser-532edf670e8c30db958765141974f3fb0f5ec44c.tar
tangerine-wallet-browser-532edf670e8c30db958765141974f3fb0f5ec44c.tar.gz
tangerine-wallet-browser-532edf670e8c30db958765141974f3fb0f5ec44c.tar.bz2
tangerine-wallet-browser-532edf670e8c30db958765141974f3fb0f5ec44c.tar.lz
tangerine-wallet-browser-532edf670e8c30db958765141974f3fb0f5ec44c.tar.xz
tangerine-wallet-browser-532edf670e8c30db958765141974f3fb0f5ec44c.tar.zst
tangerine-wallet-browser-532edf670e8c30db958765141974f3fb0f5ec44c.zip
Store metamaskId on metaTx instead of getTxWithParams method.
Diffstat (limited to 'test')
-rw-r--r--test/unit/config-manager-test.js26
1 files changed, 0 insertions, 26 deletions
diff --git a/test/unit/config-manager-test.js b/test/unit/config-manager-test.js
index a5ddf78a4..e414ecb9e 100644
--- a/test/unit/config-manager-test.js
+++ b/test/unit/config-manager-test.js
@@ -156,31 +156,5 @@ describe('config-manager', function() {
assert.equal(configManager.getTx('2').status, 'confirmed')
})
})
-
- describe('#getTxWithParams', function() {
- it('returns a tx with the matching params', function() {
- configManager.addTx({ id: '1', status: 'unconfirmed', txParams: {
- from: 'from',
- to: 'to',
- data: 'data',
- value: 'value',
- }
- })
- configManager.addTx({ id: '2', status: 'unconfirmed', txParams: {
- from: 'from1',
- to: 'to',
- data: 'data',
- value: 'value',
- }
- })
- var result = configManager.getTxWithParams({
- from: 'from',
- to: 'to',
- data: 'data',
- value: 'value',
- })
- assert.equal(result.id, '1')
- })
- })
})
})