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

@ -1,7 +1,7 @@
import * as fs from 'fs'
import * as path from 'path'
import {DotNetNunitParser} from '../src/parsers/dotnet-nunit/dotnet-nunit-parser'
import {DotnetNunitParser} from '../src/parsers/dotnet-nunit/dotnet-nunit-parser'
import {ParseOptions} from '../src/test-parser'
import {getReport} from '../src/report/get-report'
import {normalizeFilePath} from '../src/utils/path-utils'
@ -18,7 +18,7 @@ describe('dotnet-nunit tests', () => {
trackedFiles: ['DotnetTests.Unit/Calculator.cs', 'DotnetTests.NUnitV3Tests/CalculatorTests.cs']
}
const parser = new DotNetNunitParser(opts)
const parser = new DotnetNunitParser(opts)
const result = await parser.parse(filePath, fileContent)
expect(result).toMatchSnapshot()