aboutsummaryrefslogtreecommitdiffstats
path: root/packages/assert
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/assert
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/assert')
-rw-r--r--packages/assert/package.json3
-rw-r--r--packages/assert/test/assert_test.ts1
2 files changed, 3 insertions, 1 deletions
diff --git a/packages/assert/package.json b/packages/assert/package.json
index c6d77c1bd..e3ac0d3ed 100644
--- a/packages/assert/package.json
+++ b/packages/assert/package.json
@@ -2,7 +2,7 @@
"name": "@0xproject/assert",
"version": "0.2.9",
"engines": {
- "node" : ">=6.12"
+ "node": ">=6.12"
},
"description": "Provides a standard way of performing type and schema validation across 0x projects",
"main": "lib/src/index.js",
@@ -38,6 +38,7 @@
"chai": "^4.0.1",
"copyfiles": "^1.2.0",
"dirty-chai": "^2.0.1",
+ "make-promises-safe": "^1.1.0",
"mocha": "^4.0.1",
"npm-run-all": "^4.1.2",
"nyc": "^11.0.1",
diff --git a/packages/assert/test/assert_test.ts b/packages/assert/test/assert_test.ts
index 1d9a34ed9..58d3e53b5 100644
--- a/packages/assert/test/assert_test.ts
+++ b/packages/assert/test/assert_test.ts
@@ -2,6 +2,7 @@ import { schemas } from '@0xproject/json-schemas';
import { BigNumber } from '@0xproject/utils';
import * as chai from 'chai';
import * as dirtyChai from 'dirty-chai';
+import 'make-promises-safe';
import 'mocha';
import { assert } from '../src/index';