aboutsummaryrefslogtreecommitdiffstats
path: root/packages/0x.js/test
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/0x.js/test
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/0x.js/test')
-rw-r--r--packages/0x.js/test/0x.js_test.ts1
-rw-r--r--packages/0x.js/test/artifacts_test.ts1
2 files changed, 2 insertions, 0 deletions
diff --git a/packages/0x.js/test/0x.js_test.ts b/packages/0x.js/test/0x.js_test.ts
index ce2fa34bf..509d3f9f2 100644
--- a/packages/0x.js/test/0x.js_test.ts
+++ b/packages/0x.js/test/0x.js_test.ts
@@ -3,6 +3,7 @@ import { BlockchainLifecycle, devConstants, web3Factory } from '@0xproject/dev-u
import { BigNumber } from '@0xproject/utils';
import * as chai from 'chai';
import * as _ from 'lodash';
+import 'make-promises-safe';
import 'mocha';
import * as path from 'path';
import * as Sinon from 'sinon';
diff --git a/packages/0x.js/test/artifacts_test.ts b/packages/0x.js/test/artifacts_test.ts
index 40c5983bd..ca554a4f5 100644
--- a/packages/0x.js/test/artifacts_test.ts
+++ b/packages/0x.js/test/artifacts_test.ts
@@ -1,5 +1,6 @@
import { web3Factory } from '@0xproject/dev-utils';
import * as fs from 'fs';
+import 'make-promises-safe';
import { ZeroEx } from '../src';