diff options
author | Brandon Millman <brandon.millman@gmail.com> | 2018-08-16 05:13:07 +0800 |
---|---|---|
committer | Brandon Millman <brandon.millman@gmail.com> | 2018-08-23 06:39:03 +0800 |
commit | dd9c4b6e5d0f10bdaaae61f40bdf017e83e5f606 (patch) | |
tree | 8e711a77d49f8eac85570086d1d8eff7b1af99b9 /packages/forwarder-helper/test | |
parent | e915d72202f66155e74e22cf7df66d37e726f38f (diff) | |
download | dexon-sol-tools-dd9c4b6e5d0f10bdaaae61f40bdf017e83e5f606.tar dexon-sol-tools-dd9c4b6e5d0f10bdaaae61f40bdf017e83e5f606.tar.gz dexon-sol-tools-dd9c4b6e5d0f10bdaaae61f40bdf017e83e5f606.tar.bz2 dexon-sol-tools-dd9c4b6e5d0f10bdaaae61f40bdf017e83e5f606.tar.lz dexon-sol-tools-dd9c4b6e5d0f10bdaaae61f40bdf017e83e5f606.tar.xz dexon-sol-tools-dd9c4b6e5d0f10bdaaae61f40bdf017e83e5f606.tar.zst dexon-sol-tools-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.ts | 12 | ||||
-rw-r--r-- | packages/forwarder-helper/test/utils/chai_setup.ts | 13 |
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); + }, +}; |