From a3a987b4b80ec680fd2ffa7ab9f4aae4c3abaab5 Mon Sep 17 00:00:00 2001 From: Ivan Wei Date: Wed, 22 Nov 2017 16:50:40 +0800 Subject: [PATCH] test: use common.crashOnUnhandledRejection() add common.crashOnUnhandledRejectio to test-http2-window-size.js PR-URL: https://github.com/nodejs/node/pull/17227 Reviewed-By: Myles Borins Reviewed-By: Gireesh Punathil Reviewed-By: James M Snell --- test/parallel/test-http2-window-size.js | 1 + 1 file changed, 1 insertion(+) diff --git a/test/parallel/test-http2-window-size.js b/test/parallel/test-http2-window-size.js index d6c6bf3fed2af2..381416c0d23cc6 100644 --- a/test/parallel/test-http2-window-size.js +++ b/test/parallel/test-http2-window-size.js @@ -10,6 +10,7 @@ if (!common.hasCrypto) common.skip('missing crypto'); const assert = require('assert'); const h2 = require('http2'); +common.crashOnUnhandledRejection(); // Given a list of buffers and an initial window size, have a server write // each buffer to the HTTP2 Writable stream, and let the client verify that