Skip to content

Commit

Permalink
test: use common.crashOnUnhandledRejection()
Browse files Browse the repository at this point in the history
add common.crashOnUnhandledRejectio to
test-http2-window-size.js

PR-URL: #17227
Reviewed-By: Myles Borins <myles.borins@gmail.com>
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
  • Loading branch information
IvanWei authored and jasnell committed Nov 22, 2017
1 parent 9609398 commit a3a987b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/parallel/test-http2-window-size.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a3a987b

Please sign in to comment.