diff options
author | Leonid <logvinov.leon@gmail.com> | 2017-06-06 20:05:01 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-06-06 20:05:01 +0800 |
commit | 2eb99f46f53984c1a54315f87059ef18b9d06349 (patch) | |
tree | 15258b1412d7658e1844f54954c84d2fc2c6865a /test/utils/chai_setup.ts | |
parent | 0b700deb01ea044d53ae80ee483aa75262dcff07 (diff) | |
parent | fee0e5bfc7338f368f83f1e22a19d56943bd421b (diff) | |
download | dexon-sol-tools-2eb99f46f53984c1a54315f87059ef18b9d06349.tar dexon-sol-tools-2eb99f46f53984c1a54315f87059ef18b9d06349.tar.gz dexon-sol-tools-2eb99f46f53984c1a54315f87059ef18b9d06349.tar.bz2 dexon-sol-tools-2eb99f46f53984c1a54315f87059ef18b9d06349.tar.lz dexon-sol-tools-2eb99f46f53984c1a54315f87059ef18b9d06349.tar.xz dexon-sol-tools-2eb99f46f53984c1a54315f87059ef18b9d06349.tar.zst dexon-sol-tools-2eb99f46f53984c1a54315f87059ef18b9d06349.zip |
Merge pull request #35 from 0xProject/chai-setup
Add chai_setup
Diffstat (limited to 'test/utils/chai_setup.ts')
-rw-r--r-- | test/utils/chai_setup.ts | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/test/utils/chai_setup.ts b/test/utils/chai_setup.ts new file mode 100644 index 000000000..c18988106 --- /dev/null +++ b/test/utils/chai_setup.ts @@ -0,0 +1,13 @@ +import * as chai from 'chai'; +import * as dirtyChai from 'dirty-chai'; +import ChaiBigNumber = require('chai-bignumber'); +import chaiAsPromised = require('chai-as-promised'); + +export const chaiSetup = { + configure() { + chai.config.includeStack = true; + chai.use(ChaiBigNumber()); + chai.use(dirtyChai); + chai.use(chaiAsPromised); + }, +}; |