Permalink
Browse files

test: use common.crashOnUnhandledRejection

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 Nov 22, 2017
1 parent 353e66f commit d4a54993604d3b54ef2c6bfb70b24fb2404d851a
Showing with 2 additions and 1 deletion.
  1. +2 −1 test/parallel/test-http-agent.js
@@ -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);

0 comments on commit d4a5499

Please sign in to comment.