diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-01-19 20:27:15 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-01-30 23:01:35 +0800 |
commit | 6463cda2045fe9caca3cb3908aa0c66f0bfe683a (patch) | |
tree | 6ac6826c29b8d85c226487239ea253aaa2d60f4c /packages/contracts/test/utils | |
parent | d004df56e38726ed7f1b775da33d8f37aae270db (diff) | |
download | dexon-0x-contracts-6463cda2045fe9caca3cb3908aa0c66f0bfe683a.tar dexon-0x-contracts-6463cda2045fe9caca3cb3908aa0c66f0bfe683a.tar.gz dexon-0x-contracts-6463cda2045fe9caca3cb3908aa0c66f0bfe683a.tar.bz2 dexon-0x-contracts-6463cda2045fe9caca3cb3908aa0c66f0bfe683a.tar.lz dexon-0x-contracts-6463cda2045fe9caca3cb3908aa0c66f0bfe683a.tar.xz dexon-0x-contracts-6463cda2045fe9caca3cb3908aa0c66f0bfe683a.tar.zst dexon-0x-contracts-6463cda2045fe9caca3cb3908aa0c66f0bfe683a.zip |
Remove truffle from tokenTransferProxy tests
Diffstat (limited to 'packages/contracts/test/utils')
-rw-r--r-- | packages/contracts/test/utils/chai_setup.ts | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/packages/contracts/test/utils/chai_setup.ts b/packages/contracts/test/utils/chai_setup.ts new file mode 100644 index 000000000..078edd309 --- /dev/null +++ b/packages/contracts/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() { + chai.config.includeStack = true; + chai.use(ChaiBigNumber()); + chai.use(dirtyChai); + chai.use(chaiAsPromised); + }, +}; |