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: #44062
Reviewed-By: Mestery <[email protected]>
Reviewed-By: Feng Yu <[email protected]>
  • Loading branch information
aduh95 authored Aug 4, 2022
1 parent 6e418ff commit 5e1873e
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 5e1873e

Please sign in to comment.