Skip to content

Commit

Permalink
test: add common.crashOnUnhandledRejection()
Browse files Browse the repository at this point in the history
PR-URL: #17212
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: James M Snell <[email protected]>
  • Loading branch information
Scya597 authored and gibfahn committed Dec 20, 2017
1 parent ec1a35c commit 1474460
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/parallel/test-http2-client-promisify-connect.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
'use strict';

const common = require('../common');
common.crashOnUnhandledRejection();

if (!common.hasCrypto)
common.skip('missing crypto');
const assert = require('assert');
Expand Down

0 comments on commit 1474460

Please sign in to comment.