mirror of
https://github.com/dorny/test-reporter.git
synced 2025-12-17 06:47:09 +01:00
Update the validation
This commit is contained in:
parent
39eab1c454
commit
8079cf8926
3 changed files with 3 additions and 3 deletions
2
dist/index.js
generated
vendored
2
dist/index.js
generated
vendored
|
|
@ -945,7 +945,7 @@ class GoJunitParser {
|
|||
getGroups(suite) {
|
||||
const groups = [];
|
||||
const returnEmpytGroups = [];
|
||||
if (!suite.testcase)
|
||||
if (suite.testcase.length === 0)
|
||||
return returnEmpytGroups;
|
||||
for (const tc of suite.testcase) {
|
||||
let grp = groups.find(g => g.describe === tc.$.classname);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue