Skip to content

Commit 8f7e629

Browse files
atlowChemimarco-ippolito
authored andcommitted
test_runner: use internal addAbortListener
PR-URL: #52081 Refs: #48596 Reviewed-By: Moshe Atlow <moshe@atlow.co.il> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
1 parent 7d2f5cc commit 8f7e629

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/internal/test_runner/test.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ const {
2525
Symbol,
2626
} = primordials;
2727
const { getCallerLocation } = internalBinding('util');
28-
const { addAbortListener } = require('events');
28+
const { addAbortListener } = require('internal/events/abort_listener');
2929
const { AsyncResource } = require('async_hooks');
3030
const { AbortController } = require('internal/abort_controller');
3131
const {

0 commit comments

Comments
 (0)