aboutsummaryrefslogtreecommitdiffstats
path: root/packages/subproviders/test/chai_setup.ts
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2017-12-09 01:22:25 +0800
committerGitHub <noreply@github.com>2017-12-09 01:22:25 +0800
commit828dffffedf64e7ab5301284e2586082b6bc8f9c (patch)
tree6f429e6f2b3050de6dd7ce16e42c7f387bd5018a /packages/subproviders/test/chai_setup.ts
parent5eea829be9f5e8669c40dac965231051b668ed37 (diff)
parentaf8d24d0eb5af781f4731b5559979f2b02579785 (diff)
downloaddexon-sol-tools-828dffffedf64e7ab5301284e2586082b6bc8f9c.tar
dexon-sol-tools-828dffffedf64e7ab5301284e2586082b6bc8f9c.tar.gz
dexon-sol-tools-828dffffedf64e7ab5301284e2586082b6bc8f9c.tar.bz2
dexon-sol-tools-828dffffedf64e7ab5301284e2586082b6bc8f9c.tar.lz
dexon-sol-tools-828dffffedf64e7ab5301284e2586082b6bc8f9c.tar.xz
dexon-sol-tools-828dffffedf64e7ab5301284e2586082b6bc8f9c.tar.zst
dexon-sol-tools-828dffffedf64e7ab5301284e2586082b6bc8f9c.zip
Merge pull request #252 from 0xProject/feature/addSubproviders
Add Subproviders Subpackage
Diffstat (limited to 'packages/subproviders/test/chai_setup.ts')
-rw-r--r--packages/subproviders/test/chai_setup.ts11
1 files changed, 11 insertions, 0 deletions
diff --git a/packages/subproviders/test/chai_setup.ts b/packages/subproviders/test/chai_setup.ts
new file mode 100644
index 000000000..a281bab6c
--- /dev/null
+++ b/packages/subproviders/test/chai_setup.ts
@@ -0,0 +1,11 @@
+import * as chai from 'chai';
+import chaiAsPromised = require('chai-as-promised');
+import * as dirtyChai from 'dirty-chai';
+
+export const chaiSetup = {
+ configure() {
+ chai.config.includeStack = true;
+ chai.use(dirtyChai);
+ chai.use(chaiAsPromised);
+ },
+};