aboutsummaryrefslogtreecommitdiffstats
path: root/packages/0x.js/test/subscription_test.ts
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2017-12-15 20:14:57 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2017-12-15 20:30:19 +0800
commit274aa50d740e4f3af9e3d50468843ed19b555aa3 (patch)
tree1f2f8253615ef885283e8cf20f04ee5e0ece56c6 /packages/0x.js/test/subscription_test.ts
parentc36d85a46c946b5d52164642336f39c90b732376 (diff)
downloaddexon-sol-tools-274aa50d740e4f3af9e3d50468843ed19b555aa3.tar
dexon-sol-tools-274aa50d740e4f3af9e3d50468843ed19b555aa3.tar.gz
dexon-sol-tools-274aa50d740e4f3af9e3d50468843ed19b555aa3.tar.bz2
dexon-sol-tools-274aa50d740e4f3af9e3d50468843ed19b555aa3.tar.lz
dexon-sol-tools-274aa50d740e4f3af9e3d50468843ed19b555aa3.tar.xz
dexon-sol-tools-274aa50d740e4f3af9e3d50468843ed19b555aa3.tar.zst
dexon-sol-tools-274aa50d740e4f3af9e3d50468843ed19b555aa3.zip
Fix 0x.js unused vars
Diffstat (limited to 'packages/0x.js/test/subscription_test.ts')
-rw-r--r--packages/0x.js/test/subscription_test.ts8
1 files changed, 1 insertions, 7 deletions
diff --git a/packages/0x.js/test/subscription_test.ts b/packages/0x.js/test/subscription_test.ts
index d280d720a..43e6b63b6 100644
--- a/packages/0x.js/test/subscription_test.ts
+++ b/packages/0x.js/test/subscription_test.ts
@@ -12,14 +12,12 @@ import {
Token,
TokenEvents,
ZeroEx,
- ZeroExError,
} from '../src';
-import {BlockParamLiteral, DoneCallback} from '../src/types';
+import {DoneCallback} from '../src/types';
import {chaiSetup} from './utils/chai_setup';
import {constants} from './utils/constants';
import {reportCallbackErrors} from './utils/report_callback_errors';
-import {TokenUtils} from './utils/token_utils';
import {web3Factory} from './utils/web3_factory';
chaiSetup.configure();
@@ -31,7 +29,6 @@ describe('SubscriptionTest', () => {
let zeroEx: ZeroEx;
let userAddresses: string[];
let tokens: Token[];
- let tokenUtils: TokenUtils;
let coinbase: string;
let addressWithoutFunds: string;
const config = {
@@ -42,7 +39,6 @@ describe('SubscriptionTest', () => {
zeroEx = new ZeroEx(web3.currentProvider, config);
userAddresses = await zeroEx.getAvailableAddressesAsync();
tokens = await zeroEx.tokenRegistry.getTokensAsync();
- tokenUtils = new TokenUtils(tokens);
coinbase = userAddresses[0];
addressWithoutFunds = userAddresses[1];
});
@@ -54,9 +50,7 @@ describe('SubscriptionTest', () => {
});
describe('#subscribe', () => {
const indexFilterValues = {};
- const shouldThrowOnInsufficientBalanceOrAllowance = true;
let tokenAddress: string;
- const transferAmount = new BigNumber(42);
const allowanceAmount = new BigNumber(42);
let stubs: Sinon.SinonStub[] = [];
before(() => {