From 1406dbc4e45386ce4f6919a9ad9442c8148cc8cc Mon Sep 17 00:00:00 2001 From: Ayoub Mabrouk Date: Mon, 29 Dec 2025 19:42:51 +0100 Subject: [PATCH] test_runner: replace native methods with primordials Replace native methods with primordials. --- lib/internal/test_runner/runner.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/internal/test_runner/runner.js b/lib/internal/test_runner/runner.js index 3f9e855f755212..e958ab802da3d0 100644 --- a/lib/internal/test_runner/runner.js +++ b/lib/internal/test_runner/runner.js @@ -405,7 +405,7 @@ function runTestFile(path, filesWatcher, opts) { const stdio = ['pipe', 'pipe', 'pipe']; const env = { __proto__: null, ...process.env, NODE_TEST_CONTEXT: 'child-v8' }; if (watchMode) { - stdio.push('ipc'); + ArrayPrototypePush(stdio, 'ipc'); env.WATCH_REPORT_DEPENDENCIES = '1'; } if (opts.root.harness.shouldColorizeTestFiles) {