Skip to content

Commit a798240

Browse files
committed
fix: refactor to use more primordials
PR-URL: nodejs/node#44062 Reviewed-By: Mestery <mestery@protonmail.com> Reviewed-By: Feng Yu <F3n67u@outlook.com> (cherry picked from commit 5e1873e91d8ccefc5576912c24795d229455166d)
1 parent 3604d09 commit a798240

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/internal/test_runner/test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ class Test extends AsyncResource {
242242
}
243243

244244
addPendingSubtest (deferred) {
245-
this.pendingSubtests.push(deferred)
245+
ArrayPrototypePush(this.pendingSubtests, deferred)
246246
}
247247

248248
async processPendingSubtests () {

0 commit comments

Comments
 (0)