aboutsummaryrefslogtreecommitdiffstats
path: root/packages/asset-buyer/test/utils
diff options
context:
space:
mode:
authorBrandon Millman <brandon.millman@gmail.com>2018-09-14 19:45:14 +0800
committerBrandon Millman <brandon.millman@gmail.com>2018-09-15 20:14:48 +0800
commit91702bbae214f56e7ff66156fa799fcfb83f6e42 (patch)
treec45fc0577a577b81abd3e6eb0b5c7897db8fbfb8 /packages/asset-buyer/test/utils
parent90674d9038b45644e82545558d9937b9eec498f9 (diff)
downloaddexon-sol-tools-91702bbae214f56e7ff66156fa799fcfb83f6e42.tar
dexon-sol-tools-91702bbae214f56e7ff66156fa799fcfb83f6e42.tar.gz
dexon-sol-tools-91702bbae214f56e7ff66156fa799fcfb83f6e42.tar.bz2
dexon-sol-tools-91702bbae214f56e7ff66156fa799fcfb83f6e42.tar.lz
dexon-sol-tools-91702bbae214f56e7ff66156fa799fcfb83f6e42.tar.xz
dexon-sol-tools-91702bbae214f56e7ff66156fa799fcfb83f6e42.tar.zst
dexon-sol-tools-91702bbae214f56e7ff66156fa799fcfb83f6e42.zip
Move packages/forwarder-helper into packages/asset-buyer
Diffstat (limited to 'packages/asset-buyer/test/utils')
-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);
+ },
+};