diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-06-05 21:31:39 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-06-05 21:31:39 +0800 |
commit | 713ad291c4d4c537ef142e332566555076708b6d (patch) | |
tree | 995c73e5bb3913319f001c9d00d59c7c59d163d6 /test/exchange_wrapper_test.ts | |
parent | 592cab8d3f487450943d5f6e31815939f581bb96 (diff) | |
download | dexon-sol-tools-713ad291c4d4c537ef142e332566555076708b6d.tar dexon-sol-tools-713ad291c4d4c537ef142e332566555076708b6d.tar.gz dexon-sol-tools-713ad291c4d4c537ef142e332566555076708b6d.tar.bz2 dexon-sol-tools-713ad291c4d4c537ef142e332566555076708b6d.tar.lz dexon-sol-tools-713ad291c4d4c537ef142e332566555076708b6d.tar.xz dexon-sol-tools-713ad291c4d4c537ef142e332566555076708b6d.tar.zst dexon-sol-tools-713ad291c4d4c537ef142e332566555076708b6d.zip |
Add chai-as-promised
Diffstat (limited to 'test/exchange_wrapper_test.ts')
-rw-r--r-- | test/exchange_wrapper_test.ts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/exchange_wrapper_test.ts b/test/exchange_wrapper_test.ts index c4e6e308b..b680c015b 100644 --- a/test/exchange_wrapper_test.ts +++ b/test/exchange_wrapper_test.ts @@ -5,6 +5,7 @@ import * as Web3 from 'web3'; import * as BigNumber from 'bignumber.js'; import * as dirtyChai from 'dirty-chai'; import ChaiBigNumber = require('chai-bignumber'); +import * as chaiAsPromised from 'chai-as-promised'; import promisify = require('es6-promisify'); import {web3Factory} from './utils/web3_factory'; import {ZeroEx} from '../src/0x.js'; @@ -24,6 +25,7 @@ import {TokenUtils} from './utils/token_utils'; chai.config.includeStack = true; chai.use(dirtyChai); chai.use(ChaiBigNumber()); +chai.use(chaiAsPromised); const expect = chai.expect; const blockchainLifecycle = new BlockchainLifecycle(); |