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/sol-compiler | |
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/sol-compiler')
-rw-r--r-- | packages/sol-compiler/package.json | 3 | ||||
-rw-r--r-- | packages/sol-compiler/test/compiler_test.ts | 1 | ||||
-rw-r--r-- | packages/sol-compiler/test/compiler_utils_test.ts | 1 |
3 files changed, 4 insertions, 1 deletions
diff --git a/packages/sol-compiler/package.json b/packages/sol-compiler/package.json index 42f5dd0a9..31a10f8b7 100644 --- a/packages/sol-compiler/package.json +++ b/packages/sol-compiler/package.json @@ -2,7 +2,7 @@ "name": "@0xproject/sol-compiler", "version": "0.4.3", "engines": { - "node" : ">=6.12" + "node": ">=6.12" }, "description": "Solidity compiler wrapper and artifactor", "main": "lib/src/index.js", @@ -59,6 +59,7 @@ "chai-as-promised": "^7.1.0", "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/sol-compiler/test/compiler_test.ts b/packages/sol-compiler/test/compiler_test.ts index d0f121897..dc8eb1c4e 100644 --- a/packages/sol-compiler/test/compiler_test.ts +++ b/packages/sol-compiler/test/compiler_test.ts @@ -1,5 +1,6 @@ import { DoneCallback } from '@0xproject/types'; import * as chai from 'chai'; +import 'make-promises-safe'; import 'mocha'; import { Compiler } from '../src/compiler'; diff --git a/packages/sol-compiler/test/compiler_utils_test.ts b/packages/sol-compiler/test/compiler_utils_test.ts index 4fe7b994e..a6143a719 100644 --- a/packages/sol-compiler/test/compiler_utils_test.ts +++ b/packages/sol-compiler/test/compiler_utils_test.ts @@ -1,6 +1,7 @@ import * as chai from 'chai'; import * as dirtyChai from 'dirty-chai'; import * as _ from 'lodash'; +import 'make-promises-safe'; import 'mocha'; import { |