aboutsummaryrefslogtreecommitdiffstats
path: root/packages/asset-buyer/test
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2018-09-25 20:07:14 +0800
committerFabio Berger <me@fabioberger.com>2018-09-25 20:07:14 +0800
commit977d55c61b9ba8979e0846a780cd8020c821df9b (patch)
treea4c7c16da62f7c3aed4321927d8ef16fc5d23eeb /packages/asset-buyer/test
parentfc3acec669f21b8c5bcb5e3d4f712c2adaf2cf64 (diff)
parent78ef98c27ce954f7e46b261b0809ff9d8d70519b (diff)
downloaddexon-sol-tools-977d55c61b9ba8979e0846a780cd8020c821df9b.tar
dexon-sol-tools-977d55c61b9ba8979e0846a780cd8020c821df9b.tar.gz
dexon-sol-tools-977d55c61b9ba8979e0846a780cd8020c821df9b.tar.bz2
dexon-sol-tools-977d55c61b9ba8979e0846a780cd8020c821df9b.tar.lz
dexon-sol-tools-977d55c61b9ba8979e0846a780cd8020c821df9b.tar.xz
dexon-sol-tools-977d55c61b9ba8979e0846a780cd8020c821df9b.tar.zst
dexon-sol-tools-977d55c61b9ba8979e0846a780cd8020c821df9b.zip
merge development
Diffstat (limited to 'packages/asset-buyer/test')
-rw-r--r--packages/asset-buyer/test/utils/chai_setup.ts13
1 files changed, 13 insertions, 0 deletions
diff --git a/packages/asset-buyer/test/utils/chai_setup.ts b/packages/asset-buyer/test/utils/chai_setup.ts
new file mode 100644
index 000000000..1a8733093
--- /dev/null
+++ b/packages/asset-buyer/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);
+ },
+};