mirror of
https://github.com/dorny/test-reporter.git
synced 2026-02-01 19:05:23 -08:00
Compare commits
2 Commits
bugfix/610
...
chore/shad
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
1c33c4c823 | ||
|
|
eea8b67eb1 |
@@ -68,10 +68,6 @@ inputs:
|
||||
working-directory:
|
||||
description: Relative path under $GITHUB_WORKSPACE where the repository was checked out
|
||||
required: false
|
||||
report-title:
|
||||
description: Title for the test report summary
|
||||
required: false
|
||||
default: ''
|
||||
only-summary:
|
||||
description: |
|
||||
Allows you to generate only the summary.
|
||||
|
||||
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);
|
||||
|
||||
@@ -77,13 +77,13 @@ export class DotnetNunitParser implements TestParser {
|
||||
.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 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 TestGroupResult(groupName, [])
|
||||
existingSuite.groups.push(existingGroup)
|
||||
|
||||
Reference in New Issue
Block a user