Skip to content

Commit

Permalink
Update from CI
Browse files Browse the repository at this point in the history
  • Loading branch information
ethomson committed Jan 25, 2023
1 parent 1250fd0 commit 62bc5c6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -419,10 +419,10 @@ exports.parseTap = parseTap;
function parseJunitXml(xml) {
return __awaiter(this, void 0, void 0, function* () {
let testsuites;
if (xml.testsuites) {
testsuites = xml.testsuites.testsuite;
if ('testsuites' in xml) {
testsuites = xml.testsuites.testsuite || [];
}
else if (xml.testsuite) {
else if ('testsuite' in xml) {
testsuites = [xml.testsuite];
}
else {
Expand Down

0 comments on commit 62bc5c6

Please sign in to comment.