diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-06-13 00:20:43 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-06-13 00:20:43 +0800 |
commit | 365548e1269cc854275a09b6235d2d096b05ee20 (patch) | |
tree | ec536cf7bdbec3e7fb45ed12c7344adc0b8d6b73 /test | |
parent | b1ab696fdd16157702192e280c2e0a840950288a (diff) | |
download | dexon-sol-tools-365548e1269cc854275a09b6235d2d096b05ee20.tar dexon-sol-tools-365548e1269cc854275a09b6235d2d096b05ee20.tar.gz dexon-sol-tools-365548e1269cc854275a09b6235d2d096b05ee20.tar.bz2 dexon-sol-tools-365548e1269cc854275a09b6235d2d096b05ee20.tar.lz dexon-sol-tools-365548e1269cc854275a09b6235d2d096b05ee20.tar.xz dexon-sol-tools-365548e1269cc854275a09b6235d2d096b05ee20.tar.zst dexon-sol-tools-365548e1269cc854275a09b6235d2d096b05ee20.zip |
Introduce index.ts file which defines public interface
Diffstat (limited to 'test')
-rw-r--r-- | test/0x.js_test.ts | 4 | ||||
-rw-r--r-- | test/exchange_wrapper_test.ts | 2 | ||||
-rw-r--r-- | test/token_registry_wrapper_test.ts | 2 | ||||
-rw-r--r-- | test/token_wrapper_test.ts | 3 | ||||
-rw-r--r-- | test/utils/fill_scenarios.ts | 3 | ||||
-rw-r--r-- | test/utils/order_factory.ts | 3 | ||||
-rw-r--r-- | test/utils/token_utils.ts | 2 |
7 files changed, 7 insertions, 12 deletions
diff --git a/test/0x.js_test.ts b/test/0x.js_test.ts index f60bf01f8..42ab46cc9 100644 --- a/test/0x.js_test.ts +++ b/test/0x.js_test.ts @@ -4,10 +4,8 @@ import {chaiSetup} from './utils/chai_setup'; import 'mocha'; import * as BigNumber from 'bignumber.js'; import * as Sinon from 'sinon'; -import {ZeroEx} from '../src/0x'; +import {ZeroEx, Order, ECSignature} from '../src'; import {constants} from './utils/constants'; -import {Order} from '../src/types'; -import {ECSignature} from '../src/types'; import {web3Factory} from './utils/web3_factory'; chaiSetup.configure(); diff --git a/test/exchange_wrapper_test.ts b/test/exchange_wrapper_test.ts index 62b36fce4..2f79f351c 100644 --- a/test/exchange_wrapper_test.ts +++ b/test/exchange_wrapper_test.ts @@ -19,7 +19,7 @@ import { ExchangeContractErrs, OrderCancellationRequest, OrderFillRequest, -} from '../src/types'; +} from '../src'; import {FillScenarios} from './utils/fill_scenarios'; import {TokenUtils} from './utils/token_utils'; diff --git a/test/token_registry_wrapper_test.ts b/test/token_registry_wrapper_test.ts index b12b92dc4..158a02596 100644 --- a/test/token_registry_wrapper_test.ts +++ b/test/token_registry_wrapper_test.ts @@ -3,7 +3,7 @@ import 'mocha'; import * as chai from 'chai'; import {chaiSetup} from './utils/chai_setup'; import {web3Factory} from './utils/web3_factory'; -import {ZeroEx} from '../src/0x'; +import {ZeroEx} from '../src'; import {BlockchainLifecycle} from './utils/blockchain_lifecycle'; import {SchemaValidator} from '../src/utils/schema_validator'; import {tokenSchema} from '../src/schemas/token_schema'; diff --git a/test/token_wrapper_test.ts b/test/token_wrapper_test.ts index 18bbd8e43..308d3b634 100644 --- a/test/token_wrapper_test.ts +++ b/test/token_wrapper_test.ts @@ -5,8 +5,7 @@ import * as Web3 from 'web3'; import * as BigNumber from 'bignumber.js'; import promisify = require('es6-promisify'); import {web3Factory} from './utils/web3_factory'; -import {ZeroEx} from '../src/0x'; -import {ZeroExError, Token} from '../src/types'; +import {ZeroEx, ZeroExError, Token} from '../src'; import {BlockchainLifecycle} from './utils/blockchain_lifecycle'; chaiSetup.configure(); diff --git a/test/utils/fill_scenarios.ts b/test/utils/fill_scenarios.ts index d1e5f2b18..b8ad7eb12 100644 --- a/test/utils/fill_scenarios.ts +++ b/test/utils/fill_scenarios.ts @@ -1,6 +1,5 @@ import * as BigNumber from 'bignumber.js'; -import {ZeroEx} from '../../src/0x'; -import {Token, SignedOrder} from '../../src/types'; +import {ZeroEx, Token, SignedOrder} from '../../src'; import {orderFactory} from '../utils/order_factory'; import {constants} from './constants'; diff --git a/test/utils/order_factory.ts b/test/utils/order_factory.ts index 909a3c75e..ef19f2c4c 100644 --- a/test/utils/order_factory.ts +++ b/test/utils/order_factory.ts @@ -1,7 +1,6 @@ import * as _ from 'lodash'; import * as BigNumber from 'bignumber.js'; -import {SignedOrder} from '../../src/types'; -import {ZeroEx} from '../../src/0x'; +import {ZeroEx, SignedOrder} from '../../src'; export const orderFactory = { async createSignedOrderAsync( diff --git a/test/utils/token_utils.ts b/test/utils/token_utils.ts index 14788b299..f4fa7ac31 100644 --- a/test/utils/token_utils.ts +++ b/test/utils/token_utils.ts @@ -1,5 +1,5 @@ import * as _ from 'lodash'; -import {Token, ZeroExError} from '../../src/types'; +import {Token, ZeroExError} from '../../src'; const PROTOCOL_TOKEN_SYMBOL = 'ZRX'; |