diff options
author | F. Eugene Aumson <gene@aumson.org> | 2018-08-24 02:00:34 +0800 |
---|---|---|
committer | F. Eugene Aumson <gene@aumson.org> | 2018-08-29 20:50:55 +0800 |
commit | 775d1efd4607a4097704fe3c4f7ae1156b2c1a6f (patch) | |
tree | 4e3890609606bfff6548a841106807f6bcc76795 /packages/sol-doc/test/util | |
parent | 849e203812aacff453228a372143600b05155a2c (diff) | |
download | dexon-sol-tools-775d1efd4607a4097704fe3c4f7ae1156b2c1a6f.tar dexon-sol-tools-775d1efd4607a4097704fe3c4f7ae1156b2c1a6f.tar.gz dexon-sol-tools-775d1efd4607a4097704fe3c4f7ae1156b2c1a6f.tar.bz2 dexon-sol-tools-775d1efd4607a4097704fe3c4f7ae1156b2c1a6f.tar.lz dexon-sol-tools-775d1efd4607a4097704fe3c4f7ae1156b2c1a6f.tar.xz dexon-sol-tools-775d1efd4607a4097704fe3c4f7ae1156b2c1a6f.tar.zst dexon-sol-tools-775d1efd4607a4097704fe3c4f7ae1156b2c1a6f.zip |
add package sol-doc
Diffstat (limited to 'packages/sol-doc/test/util')
-rw-r--r-- | packages/sol-doc/test/util/chai_setup.ts | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/packages/sol-doc/test/util/chai_setup.ts b/packages/sol-doc/test/util/chai_setup.ts new file mode 100644 index 000000000..1a8733093 --- /dev/null +++ b/packages/sol-doc/test/util/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); + }, +}; |