diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-11-23 06:19:06 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-11-24 05:13:37 +0800 |
commit | 010e6f8d7f7403cb91c020fc501fdb4f59861c58 (patch) | |
tree | 7f854bbf95efed9688f144943df7a8c326c3c65e /packages/0x.js/test/0x.js_test.ts | |
parent | 3d5b6ec110e32f670920a88939a250479651bb5a (diff) | |
download | dexon-sol-tools-010e6f8d7f7403cb91c020fc501fdb4f59861c58.tar dexon-sol-tools-010e6f8d7f7403cb91c020fc501fdb4f59861c58.tar.gz dexon-sol-tools-010e6f8d7f7403cb91c020fc501fdb4f59861c58.tar.bz2 dexon-sol-tools-010e6f8d7f7403cb91c020fc501fdb4f59861c58.tar.lz dexon-sol-tools-010e6f8d7f7403cb91c020fc501fdb4f59861c58.tar.xz dexon-sol-tools-010e6f8d7f7403cb91c020fc501fdb4f59861c58.tar.zst dexon-sol-tools-010e6f8d7f7403cb91c020fc501fdb4f59861c58.zip |
Fix the imports order
Diffstat (limited to 'packages/0x.js/test/0x.js_test.ts')
-rw-r--r-- | packages/0x.js/test/0x.js_test.ts | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/packages/0x.js/test/0x.js_test.ts b/packages/0x.js/test/0x.js_test.ts index ba7a92fe4..cb4753248 100644 --- a/packages/0x.js/test/0x.js_test.ts +++ b/packages/0x.js/test/0x.js_test.ts @@ -1,14 +1,16 @@ -import * as _ from 'lodash'; +import BigNumber from 'bignumber.js'; import * as chai from 'chai'; -import {chaiSetup} from './utils/chai_setup'; +import * as _ from 'lodash'; import 'mocha'; -import BigNumber from 'bignumber.js'; import * as Sinon from 'sinon'; -import {ZeroEx, Order, ZeroExError, LogWithDecodedArgs, ApprovalContractEventArgs, TokenEvents} from '../src'; + +import {ApprovalContractEventArgs, LogWithDecodedArgs, Order, TokenEvents, ZeroEx, ZeroExError} from '../src'; + +import {BlockchainLifecycle} from './utils/blockchain_lifecycle'; +import {chaiSetup} from './utils/chai_setup'; import {constants} from './utils/constants'; import {TokenUtils} from './utils/token_utils'; import {web3Factory} from './utils/web3_factory'; -import {BlockchainLifecycle} from './utils/blockchain_lifecycle'; const blockchainLifecycle = new BlockchainLifecycle(); chaiSetup.configure(); @@ -39,11 +41,11 @@ describe('ZeroEx library', () => { // Check that all nested web3 wrapper instances return the updated provider const nestedWeb3WrapperProvider = (zeroEx as any)._web3Wrapper.getCurrentProvider(); - expect((nestedWeb3WrapperProvider as any).zeroExTestId).to.be.a('number'); + expect((nestedWeb3WrapperProvider).zeroExTestId).to.be.a('number'); const exchangeWeb3WrapperProvider = (zeroEx.exchange as any)._web3Wrapper.getCurrentProvider(); - expect((exchangeWeb3WrapperProvider as any).zeroExTestId).to.be.a('number'); + expect((exchangeWeb3WrapperProvider).zeroExTestId).to.be.a('number'); const tokenRegistryWeb3WrapperProvider = (zeroEx.tokenRegistry as any)._web3Wrapper.getCurrentProvider(); - expect((tokenRegistryWeb3WrapperProvider as any).zeroExTestId).to.be.a('number'); + expect((tokenRegistryWeb3WrapperProvider).zeroExTestId).to.be.a('number'); }); }); describe('#isValidSignature', () => { |