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 <mestery@protonmail.com>
Reviewed-By: Feng Yu <F3n67u@outlook.com>
  • Loading branch information
aduh95 authored and juanarbol committed Oct 11, 2022
1 parent 28911e2 commit cefb058
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 cefb058

Please sign in to comment.