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 MylesBorins committed Dec 12, 2017
1 parent 04c4c1f commit d50671b
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 d50671b

Please sign in to comment.