aboutsummaryrefslogtreecommitdiffstats
path: root/packages/order-utils/test
diff options
context:
space:
mode:
authorJacob Evans <jacob@dekz.net>2018-08-15 11:03:31 +0800
committerJacob Evans <jacob@dekz.net>2018-08-16 09:12:35 +0800
commit88c99396a2d1b880bffb21ef19507d02b474ba9b (patch)
tree8b8b72f1945a7d85f11af14f16338a059cc9f900 /packages/order-utils/test
parent622509c508272790e3e69c09cf1a1f9696815147 (diff)
downloaddexon-sol-tools-88c99396a2d1b880bffb21ef19507d02b474ba9b.tar.gz
dexon-sol-tools-88c99396a2d1b880bffb21ef19507d02b474ba9b.tar.zst
dexon-sol-tools-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.ts4
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';