aboutsummaryrefslogtreecommitdiffstats
path: root/packages/forwarder-helper/test
diff options
context:
space:
mode:
authorBrandon Millman <brandon.millman@gmail.com>2018-08-16 05:13:07 +0800
committerBrandon Millman <brandon.millman@gmail.com>2018-08-23 06:39:03 +0800
commitdd9c4b6e5d0f10bdaaae61f40bdf017e83e5f606 (patch)
tree8e711a77d49f8eac85570086d1d8eff7b1af99b9 /packages/forwarder-helper/test
parente915d72202f66155e74e22cf7df66d37e726f38f (diff)
downloaddexon-0x-contracts-dd9c4b6e5d0f10bdaaae61f40bdf017e83e5f606.tar.gz
dexon-0x-contracts-dd9c4b6e5d0f10bdaaae61f40bdf017e83e5f606.tar.zst
dexon-0x-contracts-dd9c4b6e5d0f10bdaaae61f40bdf017e83e5f606.zip
Initial skeleton of forwarder-helper package
Diffstat (limited to 'packages/forwarder-helper/test')
-rw-r--r--packages/forwarder-helper/test/forwarder_helper_impl_test.ts12
-rw-r--r--packages/forwarder-helper/test/utils/chai_setup.ts13
2 files changed, 25 insertions, 0 deletions
diff --git a/packages/forwarder-helper/test/forwarder_helper_impl_test.ts b/packages/forwarder-helper/test/forwarder_helper_impl_test.ts
new file mode 100644
index 000000000..1d3347d48
--- /dev/null
+++ b/packages/forwarder-helper/test/forwarder_helper_impl_test.ts
@@ -0,0 +1,12 @@
+import * as chai from 'chai';
+import 'mocha';
+
+import { chaiSetup } from './utils/chai_setup';
+
+chaiSetup.configure();
+const expect = chai.expect;
+
+describe('ForwarderHelperImpl', () => {
+ describe('#getMarketBuyOrdersInfo', () => {});
+ describe('#getMarketSellOrdersInfo', () => {});
+});
diff --git a/packages/forwarder-helper/test/utils/chai_setup.ts b/packages/forwarder-helper/test/utils/chai_setup.ts
new file mode 100644
index 000000000..1a8733093
--- /dev/null
+++ b/packages/forwarder-helper/test/utils/chai_setup.ts
@@ -0,0 +1,13 @@
+import * as chai from 'chai';
+import chaiAsPromised = require('chai-as-promised');
+import ChaiBigNumber = require('chai-bignumber');
+import * as dirtyChai from 'dirty-chai';
+
+export const chaiSetup = {
+ configure(): void {
+ chai.config.includeStack = true;
+ chai.use(ChaiBigNumber());
+ chai.use(dirtyChai);
+ chai.use(chaiAsPromised);
+ },
+};