aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authortmashuang <tmashuang@gmail.com>2017-09-26 01:47:36 +0800
committertmashuang <tmashuang@gmail.com>2017-09-26 01:47:36 +0800
commit20fea3f1dee33455842d9c2ac7e620d3321b6011 (patch)
treeaf3c033e079dca15e6c98082f4673336bd057929 /test
parentd4578836c99bfcdb66a6c989a7ecf79a896a2dc8 (diff)
downloadtangerine-wallet-browser-20fea3f1dee33455842d9c2ac7e620d3321b6011.tar
tangerine-wallet-browser-20fea3f1dee33455842d9c2ac7e620d3321b6011.tar.gz
tangerine-wallet-browser-20fea3f1dee33455842d9c2ac7e620d3321b6011.tar.bz2
tangerine-wallet-browser-20fea3f1dee33455842d9c2ac7e620d3321b6011.tar.lz
tangerine-wallet-browser-20fea3f1dee33455842d9c2ac7e620d3321b6011.tar.xz
tangerine-wallet-browser-20fea3f1dee33455842d9c2ac7e620d3321b6011.tar.zst
tangerine-wallet-browser-20fea3f1dee33455842d9c2ac7e620d3321b6011.zip
Remove pending updateAndApprovedTransaction test
Diffstat (limited to 'test')
-rw-r--r--test/unit/tx-controller-test.js10
1 files changed, 0 insertions, 10 deletions
diff --git a/test/unit/tx-controller-test.js b/test/unit/tx-controller-test.js
index e1e4ae8fe..f6b41f2bb 100644
--- a/test/unit/tx-controller-test.js
+++ b/test/unit/tx-controller-test.js
@@ -197,16 +197,6 @@ describe('Transaction Controller', function () {
})
})
- xdescribe('#updateAndApprovedTransaction', function () {
- it('should update txMeta and approve status for Tx', async function () {
- txController.txStateManager.addTx({ id: 0, status: 'unapproved', txParams: { from: '0x1678a085c290ebd122dc42cba69373b5953b831d', nonce: '0x1', value: '0xfffff' }, metamaskNetworkId: currentNetworkId })
- const txMeta = txController.txStateManager.getTx(0)
- txMeta.value = '0xffffe'
- provider.eth_sendRawTransaction = 0x7f9fade1c0d57a7af66ab4ead79fade1c0d57a7af66ab4ead7c2c2eb7b11a91385
- await txController.updateAndApproveTransaction(txMeta)
- })
- })
-
describe('#validateTxParams', function () {
it('does not throw for positive values', function (done) {
var sample = {