Skip to content

Commit 1406dbc

Browse files
committed
test_runner: replace native methods with primordials
Replace native methods with primordials.
1 parent 5c8ce91 commit 1406dbc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/internal/test_runner/runner.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -405,7 +405,7 @@ function runTestFile(path, filesWatcher, opts) {
405405
const stdio = ['pipe', 'pipe', 'pipe'];
406406
const env = { __proto__: null, ...process.env, NODE_TEST_CONTEXT: 'child-v8' };
407407
if (watchMode) {
408-
stdio.push('ipc');
408+
ArrayPrototypePush(stdio, 'ipc');
409409
env.WATCH_REPORT_DEPENDENCIES = '1';
410410
}
411411
if (opts.root.harness.shouldColorizeTestFiles) {

0 commit comments

Comments
 (0)