@@ -914,7 +914,7 @@ describe("Day", () => {
914
914
. querySelector ( ".react-datepicker__day" )
915
915
?. classList . contains ( rangeDayClassName ) ,
916
916
) . toBe ( true ) ;
917
- } )
917
+ } ) ;
918
918
919
919
it ( "should select range from selectingDate to startDate if selectingDate is before startDate" , ( ) => {
920
920
const startDate = newDate ( ) ;
@@ -936,7 +936,7 @@ describe("Day", () => {
936
936
937
937
it ( "should select as range if selectingDate is equal to startDate" , ( ) => {
938
938
const startDate = newDate ( ) ;
939
- const selectingDate = startDate
939
+ const selectingDate = startDate ;
940
940
941
941
const containerStartDay = renderDay ( startDate , {
942
942
startDate,
@@ -967,7 +967,6 @@ describe("Day", () => {
967
967
?. classList . contains ( rangeDayStartClassName ) ,
968
968
) . toBe ( true ) ;
969
969
970
-
971
970
const containerEndDay = renderDay ( startDate , {
972
971
startDate,
973
972
selectingDate,
@@ -980,7 +979,7 @@ describe("Day", () => {
980
979
. querySelector ( ".react-datepicker__day" )
981
980
?. classList . contains ( rangeDayEndClassName ) ,
982
981
) . toBe ( true ) ;
983
- } )
982
+ } ) ;
984
983
985
984
it ( "should set selectingDate as the end of range and startDate as the start of range if selectingDate is after startDate" , ( ) => {
986
985
const startDate = newDate ( ) ;
@@ -1010,9 +1009,9 @@ describe("Day", () => {
1010
1009
. querySelector ( ".react-datepicker__day" )
1011
1010
?. classList . contains ( rangeDayEndClassName ) ,
1012
1011
) . toBe ( true ) ;
1013
- } )
1012
+ } ) ;
1014
1013
1015
- it ( ' should set startDate as the end and start range if selectionDate equal startDate' , ( ) => {
1014
+ it ( " should set startDate as the end and start range if selectionDate equal startDate" , ( ) => {
1016
1015
const startDate = newDate ( ) ;
1017
1016
const selectingDate = startDate ;
1018
1017
@@ -1041,7 +1040,7 @@ describe("Day", () => {
1041
1040
?. classList . contains ( rangeDayEndClassName ) ,
1042
1041
) . toBe ( true ) ;
1043
1042
} ) ;
1044
- } )
1043
+ } ) ;
1045
1044
} ) ;
1046
1045
1047
1046
describe ( "today" , ( ) => {
0 commit comments