File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -39,18 +39,19 @@ describe('dotnet-trx tests', () => {
3939 expect ( result . result ) . toBe ( 'success' )
4040 } )
4141
42- it . each ( [
43- [ 'dotnet-trx' ] ,
44- [ 'dotnet-xunitv3' ]
45- ] ) ( 'matches %s report snapshot' , async ( reportName ) => {
42+ it . each ( [ [ 'dotnet-trx' ] , [ 'dotnet-xunitv3' ] ] ) ( 'matches %s report snapshot' , async reportName => {
4643 const fixturePath = path . join ( __dirname , 'fixtures' , `${ reportName } .trx` )
4744 const outputPath = path . join ( __dirname , '__outputs__' , `${ reportName } .md` )
4845 const filePath = normalizeFilePath ( path . relative ( __dirname , fixturePath ) )
4946 const fileContent = fs . readFileSync ( fixturePath , { encoding : 'utf8' } )
5047
5148 const opts : ParseOptions = {
5249 parseErrors : true ,
53- trackedFiles : [ 'DotnetTests.Unit/Calculator.cs' , 'DotnetTests.XUnitTests/CalculatorTests.cs' , 'DotnetTests.XUnitV3Tests/FixtureTests.cs' ]
50+ trackedFiles : [
51+ 'DotnetTests.Unit/Calculator.cs' ,
52+ 'DotnetTests.XUnitTests/CalculatorTests.cs' ,
53+ 'DotnetTests.XUnitV3Tests/FixtureTests.cs'
54+ ]
5455 //workDir: 'C:/Users/Michal/Workspace/dorny/test-check/reports/dotnet/'
5556 }
5657
You can’t perform that action at this time.
0 commit comments