Skip to content

Commit 696c962

Browse files
IvanWeiMylesBorins
authored andcommitted
test: use common.crashOnUnhandledRejection()
add common.crashOnUnhandledRejectio to test-http2-window-size.js PR-URL: #17227 Reviewed-By: Myles Borins <[email protected]> Reviewed-By: Gireesh Punathil <[email protected]> Reviewed-By: James M Snell <[email protected]>
1 parent caa59b9 commit 696c962

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/parallel/test-http2-window-size.js

+1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ if (!common.hasCrypto)
1010
common.skip('missing crypto');
1111
const assert = require('assert');
1212
const h2 = require('http2');
13+
common.crashOnUnhandledRejection();
1314

1415
// Given a list of buffers and an initial window size, have a server write
1516
// each buffer to the HTTP2 Writable stream, and let the client verify that

0 commit comments

Comments
 (0)