test_runner: refactor to use more primordials

PR-URL: https://github.com/nodejs/node/pull/44062
Reviewed-By: Mestery <mestery@protonmail.com>
Reviewed-By: Feng Yu <F3n67u@outlook.com>
This commit is contained in:
Antoine du Hamel authored and Ruy Adorno committed 2022-08-22 19:37:15 -04:00
1 parent 9990dc7d18
commit 8ed39397d5
1 file changed
+1 -1
+1 -1
View File
@@ -240,7 +240,7 @@ class Test extends AsyncResource {
}
addPendingSubtest(deferred) {
this.pendingSubtests.push(deferred);
ArrayPrototypePush(this.pendingSubtests, deferred);
}
async processPendingSubtests() {