Skip to content

Commit d4a5499

Browse files
esbb48MylesBorins
authored andcommitted
test: use common.crashOnUnhandledRejection
PR-URL: #17218 Reviewed-By: Gireesh Punathil <[email protected]> Reviewed-By: James M Snell <[email protected]>
1 parent 353e66f commit d4a5499

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/parallel/test-http-agent.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
'use strict';
2-
require('../common');
2+
const common = require('../common');
33
const assert = require('assert');
44
const http = require('http');
5+
common.crashOnUnhandledRejection();
56

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

0 commit comments

Comments
 (0)