aboutsummaryrefslogtreecommitdiffstats
path: root/packages/sol-cov/test
diff options
context:
space:
mode:
authorAlex Browne <stephenalexbrowne@gmail.com>2018-05-17 08:36:37 +0800
committerAlex Browne <stephenalexbrowne@gmail.com>2018-05-17 08:36:37 +0800
commit251218af8b3947d0bad531d995dbb4e161058143 (patch)
tree5f72bf6b84d4b073333c0b7555ce97098eafaca5 /packages/sol-cov/test
parentc06ed585823ec88b8330db253283fe0c4c4521fe (diff)
downloaddexon-sol-tools-251218af8b3947d0bad531d995dbb4e161058143.tar
dexon-sol-tools-251218af8b3947d0bad531d995dbb4e161058143.tar.gz
dexon-sol-tools-251218af8b3947d0bad531d995dbb4e161058143.tar.bz2
dexon-sol-tools-251218af8b3947d0bad531d995dbb4e161058143.tar.lz
dexon-sol-tools-251218af8b3947d0bad531d995dbb4e161058143.tar.xz
dexon-sol-tools-251218af8b3947d0bad531d995dbb4e161058143.tar.zst
dexon-sol-tools-251218af8b3947d0bad531d995dbb4e161058143.zip
Use make-promises-safe to catch unhandled rejections in tests
Diffstat (limited to 'packages/sol-cov/test')
-rw-r--r--packages/sol-cov/test/collect_contracts_data_test.ts1
-rw-r--r--packages/sol-cov/test/collect_coverage_entries_test.ts1
-rw-r--r--packages/sol-cov/test/instructions_test.ts1
-rw-r--r--packages/sol-cov/test/source_maps_test.ts1
-rw-r--r--packages/sol-cov/test/utils_test.ts1
5 files changed, 5 insertions, 0 deletions
diff --git a/packages/sol-cov/test/collect_contracts_data_test.ts b/packages/sol-cov/test/collect_contracts_data_test.ts
index c7c1dfe32..d84ac5a39 100644
--- a/packages/sol-cov/test/collect_contracts_data_test.ts
+++ b/packages/sol-cov/test/collect_contracts_data_test.ts
@@ -1,5 +1,6 @@
import * as chai from 'chai';
import * as _ from 'lodash';
+import 'make-promises-safe';
import 'mocha';
import * as path from 'path';
diff --git a/packages/sol-cov/test/collect_coverage_entries_test.ts b/packages/sol-cov/test/collect_coverage_entries_test.ts
index c7b9d44b1..82012edfa 100644
--- a/packages/sol-cov/test/collect_coverage_entries_test.ts
+++ b/packages/sol-cov/test/collect_coverage_entries_test.ts
@@ -1,6 +1,7 @@
import * as chai from 'chai';
import * as fs from 'fs';
import * as _ from 'lodash';
+import 'make-promises-safe';
import 'mocha';
import * as path from 'path';
diff --git a/packages/sol-cov/test/instructions_test.ts b/packages/sol-cov/test/instructions_test.ts
index 195dfce2f..f66612f5f 100644
--- a/packages/sol-cov/test/instructions_test.ts
+++ b/packages/sol-cov/test/instructions_test.ts
@@ -1,5 +1,6 @@
import * as chai from 'chai';
import * as fs from 'fs';
+import 'make-promises-safe';
import 'mocha';
import * as path from 'path';
diff --git a/packages/sol-cov/test/source_maps_test.ts b/packages/sol-cov/test/source_maps_test.ts
index 5820bedd7..071f5a057 100644
--- a/packages/sol-cov/test/source_maps_test.ts
+++ b/packages/sol-cov/test/source_maps_test.ts
@@ -1,6 +1,7 @@
import * as chai from 'chai';
import * as fs from 'fs';
import * as _ from 'lodash';
+import 'make-promises-safe';
import 'mocha';
import * as path from 'path';
diff --git a/packages/sol-cov/test/utils_test.ts b/packages/sol-cov/test/utils_test.ts
index 6fc8fcfe1..9a0227773 100644
--- a/packages/sol-cov/test/utils_test.ts
+++ b/packages/sol-cov/test/utils_test.ts
@@ -1,5 +1,6 @@
import * as chai from 'chai';
import * as dirtyChai from 'dirty-chai';
+import 'make-promises-safe';
import 'mocha';
import { utils } from '../src/utils';