aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorfrankiebee <frankie.diamond@gmail.com>2017-06-17 08:04:56 +0800
committerfrankiebee <frankie.diamond@gmail.com>2017-06-17 08:04:56 +0800
commite672f2da0d74bc1e001acb35be0345e49663463e (patch)
tree8fe5af5d9bb02e4d2e90837deec7328033c637b9 /test
parentb67bc7043ee231bb9ed4781aa4ac29d4e3107481 (diff)
downloadtangerine-wallet-browser-e672f2da0d74bc1e001acb35be0345e49663463e.tar
tangerine-wallet-browser-e672f2da0d74bc1e001acb35be0345e49663463e.tar.gz
tangerine-wallet-browser-e672f2da0d74bc1e001acb35be0345e49663463e.tar.bz2
tangerine-wallet-browser-e672f2da0d74bc1e001acb35be0345e49663463e.tar.lz
tangerine-wallet-browser-e672f2da0d74bc1e001acb35be0345e49663463e.tar.xz
tangerine-wallet-browser-e672f2da0d74bc1e001acb35be0345e49663463e.tar.zst
tangerine-wallet-browser-e672f2da0d74bc1e001acb35be0345e49663463e.zip
remove irrelevant test
Diffstat (limited to 'test')
-rw-r--r--test/unit/tx-controller-test.js5
1 files changed, 0 insertions, 5 deletions
diff --git a/test/unit/tx-controller-test.js b/test/unit/tx-controller-test.js
index 908b060d4..8ce6a5a65 100644
--- a/test/unit/tx-controller-test.js
+++ b/test/unit/tx-controller-test.js
@@ -281,15 +281,12 @@ describe('Transaction Controller', function () {
const priceStub = sinon.stub(txController.txProviderUtils.query, 'gasPrice')
.callsArgWithAsync(0, null, wrongValue)
- const nonceStub = sinon.stub(txController.txProviderUtils.query, 'getTransactionCount')
- .callsArgWithAsync(2, null, wrongValue)
const signStub = sinon.stub(txController, 'signTransaction')
.callsArgWithAsync(1, null, noop)
const pubStub = sinon.stub(txController.txProviderUtils, 'publishTransaction')
.callsArgWithAsync(1, null, originalValue)
- console.log('HERE !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!')
txController.approveTransaction(txMeta.id).then((err) => {
assert.ifError(err, 'should not error')
@@ -299,13 +296,11 @@ describe('Transaction Controller', function () {
assert.equal(params.gas, originalValue, 'gas unmodified')
assert.equal(params.gasPrice, originalValue, 'gas price unmodified')
- assert.equal(params.nonce, originalValue, 'nonce unmodified')
assert.equal(result.hash, originalValue, 'hash was set')
estimateStub.restore()
priceStub.restore()
signStub.restore()
- nonceStub.restore()
pubStub.restore()
done()
})