diff --git a/test/parallel/test-http2-client-promisify-connect.js b/test/parallel/test-http2-client-promisify-connect.js index f13f5f1408d307..dff86de2f18087 100644 --- a/test/parallel/test-http2-client-promisify-connect.js +++ b/test/parallel/test-http2-client-promisify-connect.js @@ -1,6 +1,10 @@ 'use strict'; const common = require('../common'); +common.crashOnUnhandledRejection(); + +// Crash the process on unhandled rejections. + if (!common.hasCrypto) common.skip('missing crypto'); const assert = require('assert');