diff options
author | Fabio Berger <me@fabioberger.com> | 2018-06-12 05:42:30 +0800 |
---|---|---|
committer | Fabio Berger <me@fabioberger.com> | 2018-06-12 05:42:30 +0800 |
commit | e1879ef4d91fc58203d9748eca38695b79c43674 (patch) | |
tree | 0a9a68927d5dc769b0c5cb2c5d9445849fb56e7c /packages/order-utils/test/exchange_transfer_simulator_test.ts | |
parent | b6df727efb74084a849330273a44cfc5ae3a85af (diff) | |
download | dexon-sol-tools-e1879ef4d91fc58203d9748eca38695b79c43674.tar dexon-sol-tools-e1879ef4d91fc58203d9748eca38695b79c43674.tar.gz dexon-sol-tools-e1879ef4d91fc58203d9748eca38695b79c43674.tar.bz2 dexon-sol-tools-e1879ef4d91fc58203d9748eca38695b79c43674.tar.lz dexon-sol-tools-e1879ef4d91fc58203d9748eca38695b79c43674.tar.xz dexon-sol-tools-e1879ef4d91fc58203d9748eca38695b79c43674.tar.zst dexon-sol-tools-e1879ef4d91fc58203d9748eca38695b79c43674.zip |
Fix no-unused-variable tslint rule to include parameters and fix issues
Diffstat (limited to 'packages/order-utils/test/exchange_transfer_simulator_test.ts')
-rw-r--r-- | packages/order-utils/test/exchange_transfer_simulator_test.ts | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/packages/order-utils/test/exchange_transfer_simulator_test.ts b/packages/order-utils/test/exchange_transfer_simulator_test.ts index 3369901b1..eeae42698 100644 --- a/packages/order-utils/test/exchange_transfer_simulator_test.ts +++ b/packages/order-utils/test/exchange_transfer_simulator_test.ts @@ -2,7 +2,6 @@ import { BlockchainLifecycle, devConstants } from '@0xproject/dev-utils'; import { ExchangeContractErrs } from '@0xproject/types'; import { BigNumber } from '@0xproject/utils'; import * as chai from 'chai'; -import * as _ from 'lodash'; import 'make-promises-safe'; import { artifacts } from '../src/artifacts'; @@ -176,11 +175,3 @@ describe('ExchangeTransferSimulator', async () => { }); }); }); - -function getAddressFromArtifact(artifact: any, networkId: number): string { - if (_.isUndefined(artifact.networks[networkId])) { - throw new Error(`Contract ${artifact.contractName} not deployed to network ${networkId}`); - } - const contractAddress = artifact.networks[networkId].address.toLowerCase(); - return contractAddress; -} |