@@ -102,50 +102,50 @@ test('virtualization is enabled', async () => {
102102 await assertHeaderCells ( 18 , 0 , 17 ) ;
103103 await assertRows ( 34 , 0 , 33 ) ;
104104 await assertCells ( 0 , 18 , 0 , 17 ) ;
105- await scrollGrid ( { top : 244 } ) ;
105+ scrollGrid ( { top : 244 } ) ;
106106 await assertRows ( 39 , 2 , 40 ) ;
107107
108- await scrollGrid ( { top : 245 } ) ;
108+ scrollGrid ( { top : 245 } ) ;
109109 await assertRows ( 38 , 3 , 40 ) ;
110110
111- await scrollGrid ( { top : 419 } ) ;
111+ scrollGrid ( { top : 419 } ) ;
112112 await assertRows ( 39 , 7 , 45 ) ;
113113
114- await scrollGrid ( { top : 420 } ) ;
114+ scrollGrid ( { top : 420 } ) ;
115115 await assertRows ( 38 , 8 , 45 ) ;
116116
117- await scrollGrid ( { top : 524 } ) ;
117+ scrollGrid ( { top : 524 } ) ;
118118 await assertRows ( 39 , 10 , 48 ) ;
119119
120- await scrollGrid ( { top : 525 } ) ;
120+ scrollGrid ( { top : 525 } ) ;
121121 await assertRows ( 38 , 11 , 48 ) ;
122122
123- await scrollGrid ( { top : 1000 } ) ;
123+ scrollGrid ( { top : 1000 } ) ;
124124 await assertRows ( 39 , 24 , 62 ) ;
125125
126126 // scroll height = header height + row height * row count
127127 // max top = scroll height - grid height
128- await scrollGrid ( { top : rowHeight + rowHeight * 100 - 1080 } ) ;
128+ scrollGrid ( { top : rowHeight + rowHeight * 100 - 1080 } ) ;
129129 await assertRows ( 34 , 66 , 99 ) ;
130130
131- await scrollGrid ( { left : 92 } ) ;
131+ scrollGrid ( { left : 92 } ) ;
132132 await assertHeaderCells ( 18 , 0 , 17 ) ;
133133 await assertCells ( 66 , 18 , 0 , 17 ) ;
134134
135- await scrollGrid ( { left : 93 } ) ;
135+ scrollGrid ( { left : 93 } ) ;
136136 await assertHeaderCells ( 19 , 0 , 18 ) ;
137137 await assertCells ( 66 , 19 , 0 , 18 ) ;
138138
139- await scrollGrid ( { left : 209 } ) ;
139+ scrollGrid ( { left : 209 } ) ;
140140 await assertHeaderCells ( 19 , 0 , 18 ) ;
141141 await assertCells ( 66 , 19 , 0 , 18 ) ;
142142
143- await scrollGrid ( { left : 210 } ) ;
143+ scrollGrid ( { left : 210 } ) ;
144144 await assertHeaderCells ( 18 , 1 , 18 ) ;
145145 await assertCells ( 66 , 18 , 1 , 18 ) ;
146146
147147 // max left = row width - grid width
148- await scrollGrid ( { left : 3600 - 1920 } ) ;
148+ scrollGrid ( { left : 3600 - 1920 } ) ;
149149 await assertHeaderCells ( 17 , 13 , 29 ) ;
150150 await assertCells ( 66 , 17 , 13 , 29 ) ;
151151} ) ;
@@ -157,13 +157,13 @@ test('virtualization is enabled with 4 frozen columns', async () => {
157157 await assertHeaderCellIndexes ( indexes ) ;
158158 await assertCellIndexes ( 0 , indexes ) ;
159159
160- await scrollGrid ( { left : 1000 } ) ;
160+ scrollGrid ( { left : 1000 } ) ;
161161 indexes = [ 0 , 1 , 2 , 3 , 11 , 12 , 13 , 14 , 15 , 16 , 17 , 18 , 19 , 20 , 21 , 22 , 23 , 24 , 25 ] ;
162162 await assertHeaderCellIndexes ( indexes ) ;
163163 await assertCellIndexes ( 0 , indexes ) ;
164164
165165 // max left = row width - grid width
166- await scrollGrid ( { left : 3600 - 1920 } ) ;
166+ scrollGrid ( { left : 3600 - 1920 } ) ;
167167 indexes = [ 0 , 1 , 2 , 3 , 17 , 18 , 19 , 20 , 21 , 22 , 23 , 24 , 25 , 26 , 27 , 28 , 29 ] ;
168168 await assertHeaderCellIndexes ( indexes ) ;
169169 await assertCellIndexes ( 0 , indexes ) ;
@@ -179,12 +179,12 @@ test('virtualization is enabled with all columns frozen', async () => {
179179 await assertHeaderCellIndexes ( indexes ) ;
180180 await assertCellIndexes ( 0 , indexes ) ;
181181
182- await scrollGrid ( { left : 1000 } ) ;
182+ scrollGrid ( { left : 1000 } ) ;
183183 await assertHeaderCellIndexes ( indexes ) ;
184184 await assertCellIndexes ( 0 , indexes ) ;
185185
186186 // max left = row width - grid width
187- await scrollGrid ( { left : 3600 - 1920 } ) ;
187+ scrollGrid ( { left : 3600 - 1920 } ) ;
188188 await assertHeaderCellIndexes ( indexes ) ;
189189 await assertCellIndexes ( 0 , indexes ) ;
190190} ) ;
@@ -197,7 +197,7 @@ test('virtualization is enabled with 2 summary rows', async () => {
197197 26 , 27 , 28 , 29 , 30 , 31 , 102 , 103
198198 ] ) ;
199199
200- await scrollGrid ( { top : 1000 } ) ;
200+ scrollGrid ( { top : 1000 } ) ;
201201 await assertRowIndexes ( [
202202 0 , 1 , 26 , 27 , 28 , 29 , 30 , 31 , 32 , 33 , 34 , 35 , 36 , 37 , 38 , 39 , 40 , 41 , 42 , 43 , 44 , 45 , 46 , 47 ,
203203 48 , 49 , 50 , 51 , 52 , 53 , 54 , 55 , 56 , 57 , 58 , 59 , 60 , 102 , 103
0 commit comments