diff options
author | fragosti <francesco.agosti93@gmail.com> | 2018-06-05 10:48:21 +0800 |
---|---|---|
committer | fragosti <francesco.agosti93@gmail.com> | 2018-06-05 10:48:21 +0800 |
commit | 9778695b4ad1fd999eb79b01c768a2f2b9938917 (patch) | |
tree | 3c44cd0e16474966f88af5b75846c1d6b7521188 /packages/metacoin/test | |
parent | 70858603ed37de24ae47978a191b3f188f450182 (diff) | |
download | dexon-0x-contracts-9778695b4ad1fd999eb79b01c768a2f2b9938917.tar dexon-0x-contracts-9778695b4ad1fd999eb79b01c768a2f2b9938917.tar.gz dexon-0x-contracts-9778695b4ad1fd999eb79b01c768a2f2b9938917.tar.bz2 dexon-0x-contracts-9778695b4ad1fd999eb79b01c768a2f2b9938917.tar.lz dexon-0x-contracts-9778695b4ad1fd999eb79b01c768a2f2b9938917.tar.xz dexon-0x-contracts-9778695b4ad1fd999eb79b01c768a2f2b9938917.tar.zst dexon-0x-contracts-9778695b4ad1fd999eb79b01c768a2f2b9938917.zip |
Try enabling no-unused-variable...
Diffstat (limited to 'packages/metacoin/test')
-rw-r--r-- | packages/metacoin/test/metacoin_test.ts | 4 | ||||
-rw-r--r-- | packages/metacoin/test/utils/config.ts | 1 | ||||
-rw-r--r-- | packages/metacoin/test/utils/web3_wrapper.ts | 1 |
3 files changed, 2 insertions, 4 deletions
diff --git a/packages/metacoin/test/metacoin_test.ts b/packages/metacoin/test/metacoin_test.ts index 3436fb49e..09e0d6b36 100644 --- a/packages/metacoin/test/metacoin_test.ts +++ b/packages/metacoin/test/metacoin_test.ts @@ -1,7 +1,6 @@ import { BlockchainLifecycle, devConstants } from '@0xproject/dev-utils'; import { ContractArtifact } from '@0xproject/sol-compiler'; import { BigNumber } from '@0xproject/utils'; -import { Web3Wrapper } from '@0xproject/web3-wrapper'; import * as chai from 'chai'; import { LogWithDecodedArgs } from 'ethereum-types'; import 'make-promises-safe'; @@ -18,7 +17,7 @@ const artifact: ContractArtifact = MetacoinArtifact as any; chaiSetup.configure(); const { expect } = chai; const blockchainLifecycle = new BlockchainLifecycle(web3Wrapper); - +// tslint:disable:no-unnecessary-type-assertion describe('Metacoin', () => { let metacoin: MetacoinContract; const ownerAddress = devConstants.TESTRPC_FIRST_ADDRESS; @@ -116,3 +115,4 @@ describe('Metacoin', () => { }); }); }); +// tslint:enable:no-unnecessary-type-assertion diff --git a/packages/metacoin/test/utils/config.ts b/packages/metacoin/test/utils/config.ts index ef4932845..c26fe5f25 100644 --- a/packages/metacoin/test/utils/config.ts +++ b/packages/metacoin/test/utils/config.ts @@ -1,5 +1,4 @@ import { devConstants } from '@0xproject/dev-utils'; -import * as path from 'path'; export const config = { networkId: 50, diff --git a/packages/metacoin/test/utils/web3_wrapper.ts b/packages/metacoin/test/utils/web3_wrapper.ts index 724ed4e1f..273cdf961 100644 --- a/packages/metacoin/test/utils/web3_wrapper.ts +++ b/packages/metacoin/test/utils/web3_wrapper.ts @@ -2,7 +2,6 @@ import { env, EnvVars } from '@0xproject/dev-utils'; import { GanacheSubprovider, prependSubprovider } from '@0xproject/subproviders'; import { Web3Wrapper } from '@0xproject/web3-wrapper'; import * as fs from 'fs'; -import * as _ from 'lodash'; import ProviderEngine = require('web3-provider-engine'); import { config } from './config'; |