From 251218af8b3947d0bad531d995dbb4e161058143 Mon Sep 17 00:00:00 2001 From: Alex Browne Date: Wed, 16 May 2018 17:36:37 -0700 Subject: Use make-promises-safe to catch unhandled rejections in tests --- packages/dev-utils/test/blockchain_lifecycle_test.ts | 1 + packages/dev-utils/test/rpc_test.ts | 1 + 2 files changed, 2 insertions(+) (limited to 'packages/dev-utils/test') diff --git a/packages/dev-utils/test/blockchain_lifecycle_test.ts b/packages/dev-utils/test/blockchain_lifecycle_test.ts index 2cfad9644..857a6b50e 100644 --- a/packages/dev-utils/test/blockchain_lifecycle_test.ts +++ b/packages/dev-utils/test/blockchain_lifecycle_test.ts @@ -1,6 +1,7 @@ import { BlockParamLiteral } from '@0xproject/types'; import { Web3Wrapper } from '@0xproject/web3-wrapper'; import * as chai from 'chai'; +import 'make-promises-safe'; import 'mocha'; import { BlockchainLifecycle, web3Factory } from '../src'; diff --git a/packages/dev-utils/test/rpc_test.ts b/packages/dev-utils/test/rpc_test.ts index b6998f604..45d1226c2 100644 --- a/packages/dev-utils/test/rpc_test.ts +++ b/packages/dev-utils/test/rpc_test.ts @@ -1,6 +1,7 @@ import { BlockParamLiteral } from '@0xproject/types'; import { Web3Wrapper } from '@0xproject/web3-wrapper'; import * as chai from 'chai'; +import 'make-promises-safe'; import 'mocha'; import { web3Factory } from '../src'; -- cgit v1.2.3