Skip to content

Commit

Permalink
test: use common.crashOnUnhandledRejection
Browse files Browse the repository at this point in the history
PR-URL: #17218
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
  • Loading branch information
esbb48 authored and MylesBorins committed Dec 19, 2017
1 parent 353e66f commit d4a5499
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/parallel/test-http-agent.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
'use strict';
require('../common');
const common = require('../common');
const assert = require('assert');
const http = require('http');
common.crashOnUnhandledRejection();

const server = http.Server(function(req, res) {
res.writeHead(200);
Expand Down

0 comments on commit d4a5499

Please sign in to comment.