@@ -6,7 +6,7 @@ import { RowViewModelFactory } from '../../../src/viewModelFactories/rowViewMode
66import { Table } from '../../../src/models/table' ;
77import { Alignment } from '../../../src/models/alignment' ;
88import { Cell } from '../../../src/models/cell' ;
9- import { AlignmentMarkerStrategy , IAlignmentMarker , NotSetAlignmentMarker } from '../../../src/viewModelFactories/alignmentMarking' ;
9+ import { AlignmentMarkerStrategy , IAlignmentMarker } from '../../../src/viewModelFactories/alignmentMarking' ;
1010import { RowViewModel } from '../../../src/viewModels/rowViewModel' ;
1111
1212suite ( "RowViewModelFactory.buildRow() tests" , ( ) => {
@@ -21,7 +21,6 @@ suite("RowViewModelFactory.buildRow() tests", () => {
2121 const row = 1 ;
2222 const table = threeColumnTable ( ) ;
2323
24- const rowViewModel = sut . buildRow ( row , table ) ;
2524
2625 _contentPadCalculator . verify ( _ => _ . getLeftPadding ( table , row , 0 ) , Times . once ( ) ) ;
2726 _contentPadCalculator . verify ( _ => _ . getLeftPadding ( table , row , 1 ) , Times . once ( ) ) ;
@@ -103,7 +102,6 @@ suite("RowViewModelFactory.buildSeparator() tests", () => {
103102 new RowViewModel ( [ "abcd" , "efgh" , "xyz" ] )
104103 ] ;
105104
106- const separator = sut . buildSeparator ( rows , table ) ;
107105
108106 alignmentStrategy . verifyAll ( ) ;
109107 alignmentMarker . verifyAll ( ) ;
@@ -125,7 +123,7 @@ function threeColumnTableWithEmptyMiddleColumn(alignment: Alignment = Alignment.
125123}
126124
127125function tableFor ( rows : string [ ] [ ] , alignment : Alignment ) {
128- const alignments : Alignment [ ] = rows [ 0 ] . map ( r => alignment ) ;
126+ const alignments : Alignment [ ] = rows [ 0 ] . map ( ( ) => alignment ) ;
129127 let table = new Table ( rows . map ( row => row . map ( c => new Cell ( c ) ) ) , alignments ) ;
130128 return table ;
131129}
0 commit comments