Skip to content

Commit

Permalink
test_runner: refactor to use more primordials
Browse files Browse the repository at this point in the history
PR-URL: nodejs/node#44062
Reviewed-By: Mestery <mestery@protonmail.com>
Reviewed-By: Feng Yu <F3n67u@outlook.com>
  • Loading branch information
aduh95 authored and guangwong committed Jan 3, 2023
1 parent a459323 commit e00937b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/internal/test_runner/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ class Test extends AsyncResource {
}

addPendingSubtest(deferred) {
this.pendingSubtests.push(deferred);
ArrayPrototypePush(this.pendingSubtests, deferred);
}

async processPendingSubtests() {
Expand Down

0 comments on commit e00937b

Please sign in to comment.