diff options
author | Leonid <logvinov.leon@gmail.com> | 2017-10-26 04:04:31 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-10-26 04:04:31 +0800 |
commit | e78398862b5e7bb08d15590c9bd0c656994b2a1f (patch) | |
tree | d1a719dd67857d2555369d9b377518061798b597 /test/exchange_wrapper_test.ts | |
parent | fa3e88c454e8d25fe8725dc7bf8ea35d6c3e33ab (diff) | |
parent | 122a5e9b63b5b3617ad63a56b0673fd9dd974208 (diff) | |
download | dexon-sol-tools-e78398862b5e7bb08d15590c9bd0c656994b2a1f.tar dexon-sol-tools-e78398862b5e7bb08d15590c9bd0c656994b2a1f.tar.gz dexon-sol-tools-e78398862b5e7bb08d15590c9bd0c656994b2a1f.tar.bz2 dexon-sol-tools-e78398862b5e7bb08d15590c9bd0c656994b2a1f.tar.lz dexon-sol-tools-e78398862b5e7bb08d15590c9bd0c656994b2a1f.tar.xz dexon-sol-tools-e78398862b5e7bb08d15590c9bd0c656994b2a1f.tar.zst dexon-sol-tools-e78398862b5e7bb08d15590c9bd0c656994b2a1f.zip |
Merge pull request #202 from 0xProject/fix/bignumber-types
Bignumber types
Diffstat (limited to 'test/exchange_wrapper_test.ts')
-rw-r--r-- | test/exchange_wrapper_test.ts | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/exchange_wrapper_test.ts b/test/exchange_wrapper_test.ts index f3f16643e..7c76499d5 100644 --- a/test/exchange_wrapper_test.ts +++ b/test/exchange_wrapper_test.ts @@ -1,7 +1,7 @@ import 'mocha'; import * as chai from 'chai'; import * as Web3 from 'web3'; -import * as BigNumber from 'bignumber.js'; +import BigNumber from 'bignumber.js'; import {chaiSetup} from './utils/chai_setup'; import {web3Factory} from './utils/web3_factory'; import {BlockchainLifecycle} from './utils/blockchain_lifecycle'; @@ -545,8 +545,8 @@ describe('ExchangeWrapper', () => { let makerTokenAddress: string; let takerTokenAddress: string; let takerAddress: string; - let fillableAmount: BigNumber.BigNumber; - let partialFillAmount: BigNumber.BigNumber; + let fillableAmount: BigNumber; + let partialFillAmount: BigNumber; let signedOrder: SignedOrder; let orderHash: string; before(() => { @@ -621,7 +621,7 @@ describe('ExchangeWrapper', () => { let coinbase: string; let takerAddress: string; let makerAddress: string; - let fillableAmount: BigNumber.BigNumber; + let fillableAmount: BigNumber; let signedOrder: SignedOrder; const takerTokenFillAmountInBaseUnits = new BigNumber(1); const cancelTakerAmountInBaseUnits = new BigNumber(1); |