diff options
author | Alex Browne <stephenalexbrowne@gmail.com> | 2018-09-20 02:56:41 +0800 |
---|---|---|
committer | Fred Carlsen <fred@sjelfull.no> | 2018-12-06 19:03:11 +0800 |
commit | 8e7ea4695bae8cd8c5e5bce62e7bc8b8130448a1 (patch) | |
tree | 4f9eef9a049fff5e4ffbc50de8738964dcc15aaf /packages/pipeline/test/utils | |
parent | cc5ea80aa346c5318a6c18d82d49368b08aae152 (diff) | |
download | dexon-0x-contracts-8e7ea4695bae8cd8c5e5bce62e7bc8b8130448a1.tar.gz dexon-0x-contracts-8e7ea4695bae8cd8c5e5bce62e7bc8b8130448a1.tar.zst dexon-0x-contracts-8e7ea4695bae8cd8c5e5bce62e7bc8b8130448a1.zip |
Add tests for etherscan events
Diffstat (limited to 'packages/pipeline/test/utils')
-rw-r--r-- | packages/pipeline/test/utils/chai_setup.ts | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/packages/pipeline/test/utils/chai_setup.ts b/packages/pipeline/test/utils/chai_setup.ts new file mode 100644 index 000000000..1a8733093 --- /dev/null +++ b/packages/pipeline/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); + }, +}; |