diff options
author | Alex Browne <stephenalexbrowne@gmail.com> | 2018-05-17 08:36:37 +0800 |
---|---|---|
committer | Alex Browne <stephenalexbrowne@gmail.com> | 2018-05-17 08:36:37 +0800 |
commit | 251218af8b3947d0bad531d995dbb4e161058143 (patch) | |
tree | 5f72bf6b84d4b073333c0b7555ce97098eafaca5 /packages/contracts/test/zrx_token.ts | |
parent | c06ed585823ec88b8330db253283fe0c4c4521fe (diff) | |
download | dexon-0x-contracts-251218af8b3947d0bad531d995dbb4e161058143.tar dexon-0x-contracts-251218af8b3947d0bad531d995dbb4e161058143.tar.gz dexon-0x-contracts-251218af8b3947d0bad531d995dbb4e161058143.tar.bz2 dexon-0x-contracts-251218af8b3947d0bad531d995dbb4e161058143.tar.lz dexon-0x-contracts-251218af8b3947d0bad531d995dbb4e161058143.tar.xz dexon-0x-contracts-251218af8b3947d0bad531d995dbb4e161058143.tar.zst dexon-0x-contracts-251218af8b3947d0bad531d995dbb4e161058143.zip |
Use make-promises-safe to catch unhandled rejections in tests
Diffstat (limited to 'packages/contracts/test/zrx_token.ts')
-rw-r--r-- | packages/contracts/test/zrx_token.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/packages/contracts/test/zrx_token.ts b/packages/contracts/test/zrx_token.ts index 0056ed4b5..27e876d7f 100644 --- a/packages/contracts/test/zrx_token.ts +++ b/packages/contracts/test/zrx_token.ts @@ -3,6 +3,7 @@ import { BlockchainLifecycle, devConstants, web3Factory } from '@0xproject/dev-u import { BigNumber } from '@0xproject/utils'; import { Web3Wrapper } from '@0xproject/web3-wrapper'; import * as chai from 'chai'; +import 'make-promises-safe'; import * as Web3 from 'web3'; import { ZRXTokenContract } from '../src/contract_wrappers/generated/zrx_token'; |