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/order-watcher/test/expiration_watcher_test.ts | |
parent | c06ed585823ec88b8330db253283fe0c4c4521fe (diff) | |
download | dexon-0x-contracts-251218af8b3947d0bad531d995dbb4e161058143.tar.gz 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/order-watcher/test/expiration_watcher_test.ts')
-rw-r--r-- | packages/order-watcher/test/expiration_watcher_test.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/packages/order-watcher/test/expiration_watcher_test.ts b/packages/order-watcher/test/expiration_watcher_test.ts index 0a2524d78..8b006f58a 100644 --- a/packages/order-watcher/test/expiration_watcher_test.ts +++ b/packages/order-watcher/test/expiration_watcher_test.ts @@ -6,6 +6,7 @@ import { DoneCallback, Token } from '@0xproject/types'; import { BigNumber } from '@0xproject/utils'; import * as chai from 'chai'; import * as _ from 'lodash'; +import 'make-promises-safe'; import 'mocha'; import * as Sinon from 'sinon'; |