Skip to content

Commit bb845d6

Browse files
atlowChemirdw-msft
authored andcommitted
test_runner: use internal addAbortListener
PR-URL: nodejs#52081 Refs: nodejs#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 e9071c9 commit bb845d6

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
@@ -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)