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/artifacts_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/artifacts_test.ts')
-rw-r--r-- | packages/0x.js/test/artifacts_test.ts | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/packages/0x.js/test/artifacts_test.ts b/packages/0x.js/test/artifacts_test.ts index 265a71715..f4599a24d 100644 --- a/packages/0x.js/test/artifacts_test.ts +++ b/packages/0x.js/test/artifacts_test.ts @@ -1,8 +1,10 @@ -import * as fs from 'fs'; import * as chai from 'chai'; -import {chaiSetup} from './utils/chai_setup'; +import * as fs from 'fs'; import HDWalletProvider = require('truffle-hdwallet-provider'); + import {ZeroEx} from '../src'; + +import {chaiSetup} from './utils/chai_setup'; import {constants} from './utils/constants'; chaiSetup.configure(); @@ -26,7 +28,7 @@ describe('Artifacts', () => { await (zeroEx.tokenRegistry as any)._getTokenRegistryContractAsync(); }).timeout(TIMEOUT); it('proxy contract is deployed', async () => { - await (zeroEx.token as any)._getTokenTransferProxyAddressAsync(); + await (zeroEx.proxy as any)._getTokenTransferProxyContractAsync(); }).timeout(TIMEOUT); it('exchange contract is deployed', async () => { await (zeroEx.exchange as any)._getExchangeContractAsync(); @@ -46,7 +48,7 @@ describe('Artifacts', () => { await (zeroEx.tokenRegistry as any)._getTokenRegistryContractAsync(); }).timeout(TIMEOUT); it('proxy contract is deployed', async () => { - await (zeroEx.token as any)._getTokenTransferProxyAddressAsync(); + await (zeroEx.proxy as any)._getTokenTransferProxyContractAsync(); }).timeout(TIMEOUT); it('exchange contract is deployed', async () => { await (zeroEx.exchange as any)._getExchangeContractAsync(); |