From f7c8d2356ee49708e9bd7b99ba83ac5258acc998 Mon Sep 17 00:00:00 2001 From: Scya597 Date: Wed, 22 Nov 2017 16:15:18 +0800 Subject: [PATCH] test: add common.crashOnUnhandledRejection() PR-URL: https://github.com/nodejs/node/pull/17212 Reviewed-By: Colin Ihrig Reviewed-By: James M Snell --- test/parallel/test-http2-client-promisify-connect.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/parallel/test-http2-client-promisify-connect.js b/test/parallel/test-http2-client-promisify-connect.js index f13f5f1408d307..b66827c1507302 100644 --- a/test/parallel/test-http2-client-promisify-connect.js +++ b/test/parallel/test-http2-client-promisify-connect.js @@ -1,6 +1,8 @@ 'use strict'; const common = require('../common'); +common.crashOnUnhandledRejection(); + if (!common.hasCrypto) common.skip('missing crypto'); const assert = require('assert');