Refactor dotnet-nunit parser to DotnetNunitParser

This commit is contained in:
Jozef Izso 2024-06-25 14:09:10 +02:00
parent d8481703bc
commit 1397b99b7c
4 changed files with 9 additions and 9 deletions

View file

@ -11,7 +11,7 @@ import {getAnnotations} from './report/get-annotations'
import {getReport} from './report/get-report'
import {DartJsonParser} from './parsers/dart-json/dart-json-parser'
import {DotNetNunitParser} from './parsers/dotnet-nunit/dotnet-nunit-parser'
import {DotnetNunitParser} from './parsers/dotnet-nunit/dotnet-nunit-parser'
import {DotnetTrxParser} from './parsers/dotnet-trx/dotnet-trx-parser'
import {JavaJunitParser} from './parsers/java-junit/java-junit-parser'
import {JestJunitParser} from './parsers/jest-junit/jest-junit-parser'
@ -216,7 +216,7 @@ class TestReporter {
case 'dart-json':
return new DartJsonParser(options, 'dart')
case 'dotnet-nunit':
return new DotNetNunitParser(options)
return new DotnetNunitParser(options)
case 'dotnet-trx':
return new DotnetTrxParser(options)
case 'flutter-json':

View file

@ -14,7 +14,7 @@ import {
TestCaseError
} from '../../test-results'
export class DotNetNunitParser implements TestParser {
export class DotnetNunitParser implements TestParser {
assumedWorkDir: string | undefined
constructor(readonly options: ParseOptions) {}