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/sra-report/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/sra-report/test')
-rw-r--r-- | packages/sra-report/test/postman_collection_v0_test.ts | 1 | ||||
-rw-r--r-- | packages/sra-report/test/test_runner.ts | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/packages/sra-report/test/postman_collection_v0_test.ts b/packages/sra-report/test/postman_collection_v0_test.ts index dfb16b10d..5a2fc2520 100644 --- a/packages/sra-report/test/postman_collection_v0_test.ts +++ b/packages/sra-report/test/postman_collection_v0_test.ts @@ -1,3 +1,4 @@ +import 'make-promises-safe'; import 'mocha'; import * as nock from 'nock'; diff --git a/packages/sra-report/test/test_runner.ts b/packages/sra-report/test/test_runner.ts index 91ef6aa4e..5ea3cdc4d 100644 --- a/packages/sra-report/test/test_runner.ts +++ b/packages/sra-report/test/test_runner.ts @@ -2,6 +2,7 @@ import * as chai from 'chai'; import * as chaiAsPromised from 'chai-as-promised'; import * as dirtyChai from 'dirty-chai'; import * as _ from 'lodash'; +import 'make-promises-safe'; import 'mocha'; import { NewmanRunExecution, |