diff options
author | Fabio Berger <me@fabioberger.com> | 2017-10-30 22:17:39 +0800 |
---|---|---|
committer | Fabio Berger <me@fabioberger.com> | 2017-10-30 22:17:39 +0800 |
commit | b49d1dae7debbb50c57dc4755447f2cffee35ccd (patch) | |
tree | 25397180b858b508312cc4a6c721b848cf1cd1d2 /test/order_validation_test.ts | |
parent | 9b0496b0491e9fbe353a4c29d8082cf56ede9e38 (diff) | |
parent | fec8f8a881dde19132dcf0eea727ae9fbb25adb6 (diff) | |
download | dexon-sol-tools-b49d1dae7debbb50c57dc4755447f2cffee35ccd.tar dexon-sol-tools-b49d1dae7debbb50c57dc4755447f2cffee35ccd.tar.gz dexon-sol-tools-b49d1dae7debbb50c57dc4755447f2cffee35ccd.tar.bz2 dexon-sol-tools-b49d1dae7debbb50c57dc4755447f2cffee35ccd.tar.lz dexon-sol-tools-b49d1dae7debbb50c57dc4755447f2cffee35ccd.tar.xz dexon-sol-tools-b49d1dae7debbb50c57dc4755447f2cffee35ccd.tar.zst dexon-sol-tools-b49d1dae7debbb50c57dc4755447f2cffee35ccd.zip |
Merge branch 'development' of github.com:0xProject/0x.js into development
* 'development' of github.com:0xProject/0x.js:
Update CHANGELOG
0.22.4
Add HACK comments
Add a forgotten augmentation file
Upgrade bignumber to the version with native typings and remove typings
Downgrade typedoc
Upgrade bignumber to the version with native typings and remove typings
Diffstat (limited to 'test/order_validation_test.ts')
-rw-r--r-- | test/order_validation_test.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/order_validation_test.ts b/test/order_validation_test.ts index dfcf1d43d..4f18742d3 100644 --- a/test/order_validation_test.ts +++ b/test/order_validation_test.ts @@ -1,6 +1,6 @@ import * as chai from 'chai'; import * as Web3 from 'web3'; -import * as BigNumber from 'bignumber.js'; +import BigNumber from 'bignumber.js'; import * as Sinon from 'sinon'; import {chaiSetup} from './utils/chai_setup'; import {web3Factory} from './utils/web3_factory'; @@ -211,8 +211,8 @@ describe('OrderValidation', () => { describe('#validateFillOrderBalancesAllowancesThrowIfInvalidAsync', () => { let exchangeTransferSimulator: ExchangeTransferSimulator; let transferFromAsync: Sinon.SinonSpy; - const bigNumberMatch = (expected: BigNumber.BigNumber) => { - return Sinon.match((value: BigNumber.BigNumber) => value.eq(expected)); + const bigNumberMatch = (expected: BigNumber) => { + return Sinon.match((value: BigNumber) => value.eq(expected)); }; beforeEach('create exchangeTransferSimulator', async () => { exchangeTransferSimulator = new ExchangeTransferSimulator(zeroEx.token); |