mirror of
https://github.com/dorny/test-reporter.git
synced 2026-02-01 02:45:22 -08:00
Update dist/index.js
This commit is contained in:
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);
|
||||||
|
|||||||
Reference in New Issue
Block a user