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

@@ -2,6 +2,7 @@ import { BlockchainLifecycle, callbackErrorReporter, devConstants } from '@0xpro
import { DoneCallback } from '@0xproject/types';
import { BigNumber } from '@0xproject/utils';
import * as _ from 'lodash';
import 'make-promises-safe';
import 'mocha';
import * as Sinon from 'sinon';