diff options
author | Jacob Evans <jacob@dekz.net> | 2018-08-15 11:03:31 +0800 |
---|---|---|
committer | Jacob Evans <jacob@dekz.net> | 2018-08-16 09:12:35 +0800 |
commit | 88c99396a2d1b880bffb21ef19507d02b474ba9b (patch) | |
tree | 8b8b72f1945a7d85f11af14f16338a059cc9f900 /packages/order-utils/test | |
parent | 622509c508272790e3e69c09cf1a1f9696815147 (diff) | |
download | dexon-0x-contracts-88c99396a2d1b880bffb21ef19507d02b474ba9b.tar dexon-0x-contracts-88c99396a2d1b880bffb21ef19507d02b474ba9b.tar.gz dexon-0x-contracts-88c99396a2d1b880bffb21ef19507d02b474ba9b.tar.bz2 dexon-0x-contracts-88c99396a2d1b880bffb21ef19507d02b474ba9b.tar.lz dexon-0x-contracts-88c99396a2d1b880bffb21ef19507d02b474ba9b.tar.xz dexon-0x-contracts-88c99396a2d1b880bffb21ef19507d02b474ba9b.tar.zst dexon-0x-contracts-88c99396a2d1b880bffb21ef19507d02b474ba9b.zip |
Rename OrderAlreadyCancelledOrFilled -> OrderCancelled.
Remove try catch of throwing errors in favour of returning the Errors in a OrderValidationResult
Diffstat (limited to 'packages/order-utils/test')
-rw-r--r-- | packages/order-utils/test/order_state_utils_test.ts | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/packages/order-utils/test/order_state_utils_test.ts b/packages/order-utils/test/order_state_utils_test.ts index 9292c40a4..91ef23b69 100644 --- a/packages/order-utils/test/order_state_utils_test.ts +++ b/packages/order-utils/test/order_state_utils_test.ts @@ -2,7 +2,9 @@ import { BigNumber } from '@0xproject/utils'; import * as chai from 'chai'; import 'mocha'; -import { AbstractBalanceAndProxyAllowanceFetcher, AbstractOrderFilledCancelledFetcher, OrderStateUtils } from '../src'; +import { AbstractBalanceAndProxyAllowanceFetcher } from '../src/abstract/abstract_balance_and_proxy_allowance_fetcher'; +import { AbstractOrderFilledCancelledFetcher } from '../src/abstract/abstract_order_filled_cancelled_fetcher'; +import { OrderStateUtils } from '../src/order_state_utils'; import { chaiSetup } from './utils/chai_setup'; import { testOrderFactory } from './utils/test_order_factory'; |