aboutsummaryrefslogtreecommitdiffstats
path: root/test/unit/app/controllers/transactions/tx-controller-test.js
diff options
context:
space:
mode:
authorbrunobar79 <brunobar79@gmail.com>2018-07-03 08:12:50 +0800
committerbrunobar79 <brunobar79@gmail.com>2018-07-03 08:12:50 +0800
commit0da41263acabe99fb1bf6b1a3a00c0c27a305eea (patch)
tree722f22697118dfef12d83f55cce13a567040791d /test/unit/app/controllers/transactions/tx-controller-test.js
parent390f86113a3ca8c1e2725af4705b3863f3da9a3f (diff)
downloadtangerine-wallet-browser-0da41263acabe99fb1bf6b1a3a00c0c27a305eea.tar
tangerine-wallet-browser-0da41263acabe99fb1bf6b1a3a00c0c27a305eea.tar.gz
tangerine-wallet-browser-0da41263acabe99fb1bf6b1a3a00c0c27a305eea.tar.bz2
tangerine-wallet-browser-0da41263acabe99fb1bf6b1a3a00c0c27a305eea.tar.lz
tangerine-wallet-browser-0da41263acabe99fb1bf6b1a3a00c0c27a305eea.tar.xz
tangerine-wallet-browser-0da41263acabe99fb1bf6b1a3a00c0c27a305eea.tar.zst
tangerine-wallet-browser-0da41263acabe99fb1bf6b1a3a00c0c27a305eea.zip
fix warning for unit tests
Diffstat (limited to 'test/unit/app/controllers/transactions/tx-controller-test.js')
-rw-r--r--test/unit/app/controllers/transactions/tx-controller-test.js6
1 files changed, 1 insertions, 5 deletions
diff --git a/test/unit/app/controllers/transactions/tx-controller-test.js b/test/unit/app/controllers/transactions/tx-controller-test.js
index c480c85f3..d4c5ff0ec 100644
--- a/test/unit/app/controllers/transactions/tx-controller-test.js
+++ b/test/unit/app/controllers/transactions/tx-controller-test.js
@@ -1,20 +1,17 @@
const assert = require('assert')
const ethUtil = require('ethereumjs-util')
const EthTx = require('ethereumjs-tx')
-const EthjsQuery = require('ethjs-query')
const ObservableStore = require('obs-store')
const sinon = require('sinon')
const TransactionController = require('../../../../../app/scripts/controllers/transactions')
-const TxGasUtils = require('../../../../../app/scripts/controllers/transactions/tx-gas-utils')
const { createTestProviderTools, getTestAccounts } = require('../../../../stub/provider')
const noop = () => true
const currentNetworkId = 42
-const otherNetworkId = 36
describe('Transaction Controller', function () {
- let txController, provider, providerResultStub, query, fromAccount
+ let txController, provider, providerResultStub, fromAccount
beforeEach(function () {
providerResultStub = {
@@ -24,7 +21,6 @@ describe('Transaction Controller', function () {
eth_getCode: '0x',
}
provider = createTestProviderTools({ scaffold: providerResultStub }).provider
- query = new EthjsQuery(provider)
fromAccount = getTestAccounts()[0]
txController = new TransactionController({