Skip to content

Commit

Permalink
Changed xmlbuilder-js attributes for attribs on JUnit reporter (#3231)
Browse files Browse the repository at this point in the history
  • Loading branch information
rion18 authored Aug 16, 2024
1 parent 42d211d commit 986497e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/reporters/junit/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ JunitReporter = function (newman, reporterOptions) {
testcase.att('time', executionTime.toFixed(3));

// Set the same classname for all the tests
testcase.att('classname', _.get(testcase.up(), 'attributes.name.value',
testcase.att('classname', _.get(testcase.up(), 'attribs.name.value',
classname));

if (failures && failures.length) {
Expand Down

0 comments on commit 986497e

Please sign in to comment.