mirror of
https://github.com/dorny/test-reporter.git
synced 2025-12-13 04:58:45 +01:00
Rebuild dist/ code
This commit is contained in:
parent
eea8b67eb1
commit
1c33c4c823
1 changed files with 2 additions and 2 deletions
4
dist/index.js
generated
vendored
4
dist/index.js
generated
vendored
|
|
@ -837,12 +837,12 @@ class DotnetNunitParser {
|
|||
.map(suite => suite.$.name)
|
||||
.join('.');
|
||||
const groupName = suitesWithoutTheories[suitesWithoutTheories.length - 1].$.name;
|
||||
let existingSuite = result.find(existingSuite => existingSuite.name === suiteName);
|
||||
let existingSuite = result.find(suite => suite.name === suiteName);
|
||||
if (existingSuite === undefined) {
|
||||
existingSuite = new test_results_1.TestSuiteResult(suiteName, []);
|
||||
result.push(existingSuite);
|
||||
}
|
||||
let existingGroup = existingSuite.groups.find(existingGroup => existingGroup.name === groupName);
|
||||
let existingGroup = existingSuite.groups.find(group => group.name === groupName);
|
||||
if (existingGroup === undefined) {
|
||||
existingGroup = new test_results_1.TestGroupResult(groupName, []);
|
||||
existingSuite.groups.push(existingGroup);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue