Skip to content

Commit 8ed3939

Browse files
aduh95ruyadorno
authored andcommitted
test_runner: refactor to use more primordials
PR-URL: #44062 Reviewed-By: Mestery <[email protected]> Reviewed-By: Feng Yu <[email protected]>
1 parent 9990dc7 commit 8ed3939

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
@@ -240,7 +240,7 @@ class Test extends AsyncResource {
240240
}
241241

242242
addPendingSubtest(deferred) {
243-
this.pendingSubtests.push(deferred);
243+
ArrayPrototypePush(this.pendingSubtests, deferred);
244244
}
245245

246246
async processPendingSubtests() {

0 commit comments

Comments
 (0)