From 8f7e6292a0733fef94414739a7276f1bd360c68b Mon Sep 17 00:00:00 2001 From: atlowChemi Date: Thu, 14 Mar 2024 10:56:47 +0200 Subject: [PATCH] test_runner: use internal addAbortListener PR-URL: https://github.com/nodejs/node/pull/52081 Refs: https://github.com/nodejs/node/pull/48596 Reviewed-By: Moshe Atlow Reviewed-By: Benjamin Gruenbaum Reviewed-By: Antoine du Hamel Reviewed-By: Luigi Pinca --- lib/internal/test_runner/test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/internal/test_runner/test.js b/lib/internal/test_runner/test.js index 2d389772a2ecf4..9e3991e02f3618 100644 --- a/lib/internal/test_runner/test.js +++ b/lib/internal/test_runner/test.js @@ -25,7 +25,7 @@ const { Symbol, } = primordials; const { getCallerLocation } = internalBinding('util'); -const { addAbortListener } = require('events'); +const { addAbortListener } = require('internal/events/abort_listener'); const { AsyncResource } = require('async_hooks'); const { AbortController } = require('internal/abort_controller'); const {