Use make-promises-safe to catch unhandled rejections in tests

This commit is contained in:
Alex Browne
2018-05-16 17:36:37 -07:00
parent c06ed58582
commit 251218af8b
87 changed files with 126 additions and 37 deletions

View File

@@ -1,6 +1,7 @@
import { BlockchainLifecycle, devConstants, web3Factory } from '@0xproject/dev-utils';
import { Web3Wrapper } from '@0xproject/web3-wrapper';
import * as chai from 'chai';
import 'make-promises-safe';
import * as Web3 from 'web3';
import { TokenTransferProxyContract } from '../../src/contract_wrappers/generated/token_transfer_proxy';