Skip to content

Commit 20a463a

Browse files
authored
Pull latest changes from nodejs/node (#38)
1 parent 3604d09 commit 20a463a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/internal/test_runner/test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// https://github.com/nodejs/node/blob/5ec2d7bc5deed26ac640feff279800e39dacc9c0/lib/internal/test_runner/test.js
1+
// https://github.com/nodejs/node/blob/5e1873e91d8ccefc5576912c24795d229455166d/lib/internal/test_runner/test.js
22

33
'use strict'
44

@@ -242,7 +242,7 @@ class Test extends AsyncResource {
242242
}
243243

244244
addPendingSubtest (deferred) {
245-
this.pendingSubtests.push(deferred)
245+
ArrayPrototypePush(this.pendingSubtests, deferred)
246246
}
247247

248248
async processPendingSubtests () {

0 commit comments

Comments
 (0)