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 and danielleadams committed Aug 11, 2022
1 parent 08f6f1c commit a36befa
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 a36befa

Please sign in to comment.