summaryrefslogtreecommitdiff
path: root/test/parallel
diff options
context:
space:
mode:
authoresbb48 <esbb48@gmail.com>2017-11-22 16:34:58 +0800
committerJames M Snell <jasnell@gmail.com>2017-11-22 07:32:38 -0800
commit339e247e3fcf987b0d83f0df37be7ff0f6dcfe47 (patch)
tree249d34ece2b2337b82a6653327449a63bc2225e4 /test/parallel
parent571ecd1aed3a1f04c2910bcf72585506621bb256 (diff)
downloadandroid-node-v8-339e247e3fcf987b0d83f0df37be7ff0f6dcfe47.tar.gz
android-node-v8-339e247e3fcf987b0d83f0df37be7ff0f6dcfe47.tar.bz2
android-node-v8-339e247e3fcf987b0d83f0df37be7ff0f6dcfe47.zip
test: use common.crashOnUnhandledRejection
PR-URL: https://github.com/nodejs/node/pull/17218 Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'test/parallel')
-rw-r--r--test/parallel/test-http-agent.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/parallel/test-http-agent.js b/test/parallel/test-http-agent.js
index 062809f061..106f641db7 100644
--- a/test/parallel/test-http-agent.js
+++ b/test/parallel/test-http-agent.js
@@ -23,6 +23,7 @@
const common = require('../common');
const assert = require('assert');
const http = require('http');
+common.crashOnUnhandledRejection();
const N = 4;
const M = 4;