aboutsummaryrefslogtreecommitdiffstats
path: root/packages/dev-utils
diff options
context:
space:
mode:
authorAlex Browne <stephenalexbrowne@gmail.com>2018-05-18 02:58:31 +0800
committerGitHub <noreply@github.com>2018-05-18 02:58:31 +0800
commita26cc7c14d4e59102d5f84d534f75c42b8683cad (patch)
tree9ba1037b78d53f4216878bda5a344ee2eb89231f /packages/dev-utils
parentcec76c33b6a33d2c36305bd581de628641c14d5e (diff)
parent251218af8b3947d0bad531d995dbb4e161058143 (diff)
downloaddexon-sol-tools-a26cc7c14d4e59102d5f84d534f75c42b8683cad.tar
dexon-sol-tools-a26cc7c14d4e59102d5f84d534f75c42b8683cad.tar.gz
dexon-sol-tools-a26cc7c14d4e59102d5f84d534f75c42b8683cad.tar.bz2
dexon-sol-tools-a26cc7c14d4e59102d5f84d534f75c42b8683cad.tar.lz
dexon-sol-tools-a26cc7c14d4e59102d5f84d534f75c42b8683cad.tar.xz
dexon-sol-tools-a26cc7c14d4e59102d5f84d534f75c42b8683cad.tar.zst
dexon-sol-tools-a26cc7c14d4e59102d5f84d534f75c42b8683cad.zip
Merge pull request #597 from 0xProject/make-promises-safe
Use make-promises-safe to catch unhandled rejections in tests
Diffstat (limited to 'packages/dev-utils')
-rw-r--r--packages/dev-utils/package.json3
-rw-r--r--packages/dev-utils/test/blockchain_lifecycle_test.ts1
-rw-r--r--packages/dev-utils/test/rpc_test.ts1
3 files changed, 4 insertions, 1 deletions
diff --git a/packages/dev-utils/package.json b/packages/dev-utils/package.json
index 93edd80ca..49964c82a 100644
--- a/packages/dev-utils/package.json
+++ b/packages/dev-utils/package.json
@@ -2,7 +2,7 @@
"name": "@0xproject/dev-utils",
"version": "0.4.1",
"engines": {
- "node" : ">=6.12"
+ "node": ">=6.12"
},
"description": "0x dev TS utils",
"main": "lib/src/index.js",
@@ -35,6 +35,7 @@
"@types/mocha": "^2.2.42",
"chai": "^4.0.1",
"copyfiles": "^1.2.0",
+ "make-promises-safe": "^1.1.0",
"mocha": "^4.0.1",
"npm-run-all": "^4.1.2",
"nyc": "^11.0.1",
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';