mirror of
https://github.com/dorny/test-reporter.git
synced 2025-12-15 22:07:09 +01:00
Update dist/index.js
This commit is contained in:
parent
48bf7af48b
commit
3b54f63d95
1 changed files with 3 additions and 0 deletions
3
dist/index.js
generated
vendored
3
dist/index.js
generated
vendored
|
|
@ -1163,6 +1163,9 @@ class JestJunitParser {
|
||||||
return new test_results_1.TestRunResult(path, suites, time);
|
return new test_results_1.TestRunResult(path, suites, time);
|
||||||
}
|
}
|
||||||
getGroups(suite) {
|
getGroups(suite) {
|
||||||
|
if (!suite.testcase) {
|
||||||
|
return [];
|
||||||
|
}
|
||||||
const groups = [];
|
const groups = [];
|
||||||
for (const tc of suite.testcase) {
|
for (const tc of suite.testcase) {
|
||||||
let grp = groups.find(g => g.describe === tc.$.classname);
|
let grp = groups.find(g => g.describe === tc.$.classname);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue