@@ -143,6 +143,9 @@ describe('ContestTableProviderBase and implementations', () => {
143143 expect ( displayConfig . isShownHeader ) . toBe ( true ) ;
144144 expect ( displayConfig . isShownRoundLabel ) . toBe ( true ) ;
145145 expect ( displayConfig . roundLabelWidth ) . toBe ( 'xl:w-16' ) ;
146+ expect ( displayConfig . tableBodyCellsWidth ) . toBe (
147+ 'w-1/2 xs:w-1/3 sm:w-1/4 md:w-1/5 lg:w-1/6 px-1 py-1' ,
148+ ) ;
146149 expect ( displayConfig . isShownTaskIndex ) . toBe ( false ) ;
147150 } ) ;
148151 } ) ;
@@ -183,6 +186,9 @@ describe('ContestTableProviderBase and implementations', () => {
183186 expect ( displayConfig . isShownHeader ) . toBe ( true ) ;
184187 expect ( displayConfig . isShownRoundLabel ) . toBe ( true ) ;
185188 expect ( displayConfig . roundLabelWidth ) . toBe ( 'xl:w-16' ) ;
189+ expect ( displayConfig . tableBodyCellsWidth ) . toBe (
190+ 'w-1/2 xs:w-1/3 sm:w-1/4 md:w-1/5 lg:w-1/6 px-1 py-1' ,
191+ ) ;
186192 expect ( displayConfig . isShownTaskIndex ) . toBe ( false ) ;
187193 } ) ;
188194 } ) ;
@@ -223,6 +229,9 @@ describe('ContestTableProviderBase and implementations', () => {
223229 expect ( displayConfig . isShownHeader ) . toBe ( true ) ;
224230 expect ( displayConfig . isShownRoundLabel ) . toBe ( true ) ;
225231 expect ( displayConfig . roundLabelWidth ) . toBe ( 'xl:w-16' ) ;
232+ expect ( displayConfig . tableBodyCellsWidth ) . toBe (
233+ 'w-1/2 xs:w-1/3 sm:w-1/4 md:w-1/5 lg:w-1/6 px-1 py-1' ,
234+ ) ;
226235 expect ( displayConfig . isShownTaskIndex ) . toBe ( false ) ;
227236 } ) ;
228237 } ) ;
@@ -243,6 +252,9 @@ describe('ContestTableProviderBase and implementations', () => {
243252 expect ( displayConfig . isShownHeader ) . toBe ( false ) ;
244253 expect ( displayConfig . isShownRoundLabel ) . toBe ( false ) ;
245254 expect ( displayConfig . roundLabelWidth ) . toBe ( '' ) ;
255+ expect ( displayConfig . tableBodyCellsWidth ) . toBe (
256+ 'w-1/2 xs:w-1/3 sm:w-1/4 md:w-1/5 lg:w-1/6 2xl:w-1/7 px-1 py-2' ,
257+ ) ;
246258 expect ( displayConfig . isShownTaskIndex ) . toBe ( true ) ;
247259 } ) ;
248260
@@ -270,6 +282,9 @@ describe('ContestTableProviderBase and implementations', () => {
270282 expect ( displayConfig . isShownHeader ) . toBe ( false ) ;
271283 expect ( displayConfig . isShownRoundLabel ) . toBe ( false ) ;
272284 expect ( displayConfig . roundLabelWidth ) . toBe ( '' ) ;
285+ expect ( displayConfig . tableBodyCellsWidth ) . toBe (
286+ 'w-1/2 xs:w-1/3 sm:w-1/4 md:w-1/5 lg:w-1/6 2xl:w-1/7 px-1 py-2' ,
287+ ) ;
273288 expect ( displayConfig . isShownTaskIndex ) . toBe ( true ) ;
274289 } ) ;
275290
@@ -334,6 +349,7 @@ describe('ContestTableProviderBase and implementations', () => {
334349 expect ( displayConfig . isShownHeader ) . toBe ( true ) ;
335350 expect ( displayConfig . isShownRoundLabel ) . toBe ( true ) ;
336351 expect ( displayConfig . roundLabelWidth ) . toBe ( 'xl:w-28' ) ;
352+ expect ( displayConfig . tableBodyCellsWidth ) . toBe ( 'w-1/2 md:w-1/3 lg:w-1/4 px-1 py-1' ) ;
337353 expect ( displayConfig . isShownTaskIndex ) . toBe ( false ) ;
338354 } ) ;
339355
@@ -434,6 +450,7 @@ describe('ContestTableProviderBase and implementations', () => {
434450 expect ( displayConfig . isShownHeader ) . toBe ( false ) ;
435451 expect ( displayConfig . isShownRoundLabel ) . toBe ( false ) ;
436452 expect ( displayConfig . roundLabelWidth ) . toBe ( '' ) ;
453+ expect ( displayConfig . tableBodyCellsWidth ) . toBe ( 'w-1/2 lg:w-1/3 xl:w-1/4 px-1 py-2' ) ;
437454 expect ( displayConfig . isShownTaskIndex ) . toBe ( true ) ;
438455 } ) ;
439456
0 commit comments