Skip to content

Commit 780d030

Browse files
atlowCheminodejs-github-bot
authored andcommitted
test_runner: use internal addAbortListener
PR-URL: #52081 Refs: #48596 Reviewed-By: Moshe Atlow <[email protected]> Reviewed-By: Benjamin Gruenbaum <[email protected]> Reviewed-By: Antoine du Hamel <[email protected]> Reviewed-By: Luigi Pinca <[email protected]>
1 parent a9528e8 commit 780d030

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/internal/test_runner/test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ const {
2727
Symbol,
2828
} = primordials;
2929
const { getCallerLocation } = internalBinding('util');
30-
const { addAbortListener } = require('events');
30+
const { addAbortListener } = require('internal/events/abort_listener');
3131
const { AsyncResource } = require('async_hooks');
3232
const { AbortController } = require('internal/abort_controller');
3333
const {

0 commit comments

Comments
 (0)