@@ -17,7 +17,6 @@ describe('<SingleInputDateRangeField /> - Selection', () => {
1717
1818 describe ( 'Focus' , ( ) => {
1919 it ( 'should select 1st section on mount focus (`autoFocus = true`)' , ( ) => {
20- // Test with accessible DOM structure
2120 const view = renderWithProps ( {
2221 autoFocus : true ,
2322 } ) ;
@@ -30,7 +29,6 @@ describe('<SingleInputDateRangeField /> - Selection', () => {
3029
3130 describe ( 'Click' , ( ) => {
3231 it ( 'should select the clicked selection when the input is already focused' , async ( ) => {
33- // Test with accessible DOM structure
3432 const view = renderWithProps ( {
3533 value : [ null , adapterToUse . date ( '2022-02-24' ) ] ,
3634 } ) ;
@@ -53,7 +51,6 @@ describe('<SingleInputDateRangeField /> - Selection', () => {
5351 } ) ;
5452
5553 it ( 'should not change the selection when clicking on the only already selected section' , async ( ) => {
56- // Test with accessible DOM structure
5754 const view = renderWithProps ( {
5855 value : [ null , adapterToUse . date ( '2022-02-24' ) ] ,
5956 } ) ;
@@ -78,7 +75,6 @@ describe('<SingleInputDateRangeField /> - Selection', () => {
7875
7976 describe ( 'key: ArrowRight' , ( ) => {
8077 it ( 'should allow to move from left to right with ArrowRight' , async ( ) => {
81- // Test with accessible DOM structure
8278 const view = renderWithProps ( { } ) ;
8379
8480 await view . selectSectionAsync ( 'month' ) ;
@@ -103,7 +99,6 @@ describe('<SingleInputDateRangeField /> - Selection', () => {
10399 } ) ;
104100
105101 it ( 'should stay on the current section when the last section is selected' , async ( ) => {
106- // Test with accessible DOM structure
107102 const view = renderWithProps ( { } ) ;
108103
109104 await view . selectSectionAsync ( 'year' , 'last' ) ;
@@ -117,7 +112,6 @@ describe('<SingleInputDateRangeField /> - Selection', () => {
117112
118113 describe ( 'key: ArrowLeft' , ( ) => {
119114 it ( 'should allow to move from right to left with ArrowLeft' , async ( ) => {
120- // Test with accessible DOM structure
121115 const view = renderWithProps ( { } ) ;
122116
123117 await view . selectSectionAsync ( 'year' , 'last' ) ;
@@ -141,7 +135,6 @@ describe('<SingleInputDateRangeField /> - Selection', () => {
141135 } ) ;
142136
143137 it ( 'should stay on the current section when the first section is selected' , async ( ) => {
144- // Test with accessible DOM structure
145138 const view = renderWithProps ( { } ) ;
146139
147140 await view . selectSectionAsync ( 'month' ) ;
0 commit comments