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 <[email protected]>
Reviewed-By: Gireesh Punathil <[email protected]>
Reviewed-By: James M Snell <[email protected]>
  • Loading branch information
IvanWei authored and MylesBorins committed Dec 12, 2017
1 parent caa59b9 commit 696c962
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 696c962

Please sign in to comment.