Skip to content

Commit

Permalink
fix: get proper suite name for mochawesome (#37)
Browse files Browse the repository at this point in the history
  • Loading branch information
mbartoszek-lawlogix authored Apr 12, 2023
1 parent 8af4e4d commit 41efe7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/parsers/mochawesome-json/mochawesome-json-parser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ export class MochawesomeJsonParser implements TestParser {
// Process tests that are in a suite
if (suites?.length > 0) {
for (const suite of suites) {
processNestedSuites(suite, 0, filePath ? filePath : result?.title)
processNestedSuites(suite, 0, filePath ? filePath : suite.title)
}
}
}
Expand Down

0 comments on commit 41efe7e

Please sign in to comment.