Skip to content

Commit c2332f5

Browse files
committed
test_runner: replace native methods with primordials
Replace native methods with primordials.
1 parent 879b95e commit c2332f5

File tree

1 file changed

+1
-1
lines changed
  • lib/internal/test_runner/reporter

1 file changed

+1
-1
lines changed

lib/internal/test_runner/reporter/junit.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ module.exports = async function* junitReporter(source) {
133133
}
134134
if (event.type === 'test:fail') {
135135
const error = event.data.details?.error;
136-
currentTest.children.push({
136+
ArrayPrototypePush(currentTest.children, {
137137
__proto__: null,
138138
nesting: event.data.nesting + 1,
139139
tag: 'failure',

0 commit comments

Comments
 (0)