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/order-utils/test | |
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/order-utils/test')
-rw-r--r-- | packages/order-utils/test/assert_test.ts | 1 | ||||
-rw-r--r-- | packages/order-utils/test/order_hash_test.ts | 1 | ||||
-rw-r--r-- | packages/order-utils/test/signature_utils_test.ts | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/packages/order-utils/test/assert_test.ts b/packages/order-utils/test/assert_test.ts index dfd19bf86..033fd6732 100644 --- a/packages/order-utils/test/assert_test.ts +++ b/packages/order-utils/test/assert_test.ts @@ -1,5 +1,6 @@ import { web3Factory } from '@0xproject/dev-utils'; import * as chai from 'chai'; +import 'make-promises-safe'; import 'mocha'; import { assert } from '../src/assert'; diff --git a/packages/order-utils/test/order_hash_test.ts b/packages/order-utils/test/order_hash_test.ts index b6dda1a43..db5489509 100644 --- a/packages/order-utils/test/order_hash_test.ts +++ b/packages/order-utils/test/order_hash_test.ts @@ -1,6 +1,7 @@ import { web3Factory } from '@0xproject/dev-utils'; import { BigNumber } from '@0xproject/utils'; import * as chai from 'chai'; +import 'make-promises-safe'; import 'mocha'; import { constants, getOrderHashHex } from '../src'; diff --git a/packages/order-utils/test/signature_utils_test.ts b/packages/order-utils/test/signature_utils_test.ts index 553ec2e53..4b4de9217 100644 --- a/packages/order-utils/test/signature_utils_test.ts +++ b/packages/order-utils/test/signature_utils_test.ts @@ -3,6 +3,7 @@ import { JSONRPCErrorCallback, JSONRPCRequestPayload } from '@0xproject/types'; import { BigNumber } from '@0xproject/utils'; import * as chai from 'chai'; import * as _ from 'lodash'; +import 'make-promises-safe'; import 'mocha'; import * as Sinon from 'sinon'; |