diff options
author | Alex Browne <stephenalexbrowne@gmail.com> | 2018-05-18 02:58:31 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-05-18 02:58:31 +0800 |
commit | a26cc7c14d4e59102d5f84d534f75c42b8683cad (patch) | |
tree | 9ba1037b78d53f4216878bda5a344ee2eb89231f /packages/json-schemas | |
parent | cec76c33b6a33d2c36305bd581de628641c14d5e (diff) | |
parent | 251218af8b3947d0bad531d995dbb4e161058143 (diff) | |
download | dexon-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/json-schemas')
-rw-r--r-- | packages/json-schemas/package.json | 3 | ||||
-rw-r--r-- | packages/json-schemas/test/schema_test.ts | 1 |
2 files changed, 3 insertions, 1 deletions
diff --git a/packages/json-schemas/package.json b/packages/json-schemas/package.json index 6db04b35b..aece885ec 100644 --- a/packages/json-schemas/package.json +++ b/packages/json-schemas/package.json @@ -2,7 +2,7 @@ "name": "@0xproject/json-schemas", "version": "0.7.23", "engines": { - "node" : ">=6.12" + "node": ">=6.12" }, "description": "0x-related json schemas", "main": "lib/src/index.js", @@ -61,6 +61,7 @@ "copyfiles": "^1.2.0", "dirty-chai": "^2.0.1", "lodash.foreach": "^4.5.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/json-schemas/test/schema_test.ts b/packages/json-schemas/test/schema_test.ts index 7b058781d..ac6a68b59 100644 --- a/packages/json-schemas/test/schema_test.ts +++ b/packages/json-schemas/test/schema_test.ts @@ -2,6 +2,7 @@ import { BigNumber } from '@0xproject/utils'; import * as chai from 'chai'; import * as dirtyChai from 'dirty-chai'; import forEach = require('lodash.foreach'); +import 'make-promises-safe'; import 'mocha'; import { schemas, SchemaValidator } from '../src/index'; |