Fix dart/flutter stack trace parsing

This commit is contained in:
Michal Dorner
2021-02-01 16:09:01 +01:00
parent 2834fd0c5f
commit effa386fea
6 changed files with 38 additions and 25 deletions

View File

@@ -131,11 +131,11 @@ async function main(): Promise<void> {
function getParser(reporter: string, options: ParseOptions): TestParser {
switch (reporter) {
case 'dart-json':
return new DartJsonParser(options)
return new DartJsonParser(options, 'dart')
case 'dotnet-trx':
return new DotnetTrxParser(options)
case 'flutter-json':
return new DartJsonParser(options)
return new DartJsonParser(options, 'flutter')
case 'jest-junit':
return new JestJunitParser(options)
default: