mirror of
https://github.com/dorny/test-reporter.git
synced 2026-02-01 02:45:22 -08:00
committed by
Cédric Luthi
parent
d1504ea554
commit
4128d36b92
@@ -81,7 +81,7 @@ export class DotnetTrxParser implements TestParser {
|
||||
|
||||
const testClasses: {[name: string]: TestClass} = {}
|
||||
for (const r of unitTestsResults) {
|
||||
const className = r.test.TestMethod[0].$.className
|
||||
const className = r.test.TestMethod[0].$.className ?? "Unclassified"
|
||||
let tc = testClasses[className]
|
||||
if (tc === undefined) {
|
||||
tc = new TestClass(className)
|
||||
|
||||
Reference in New Issue
Block a user