File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
e2e/testcafe-devextreme/tests/scheduler/common/dragAndDrop
packages/devextreme/js/__internal/scheduler Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -155,7 +155,7 @@ test('Should not throw error when trying to drag appointment that is being updat
155155 e . cancel = new Promise ( ( resolve ) => {
156156 setTimeout ( ( ) => {
157157 resolve ( false ) ;
158- } , 5000 ) ;
158+ } , 1500 ) ;
159159 } ) ;
160160 } ,
161161 } ) ;
Original file line number Diff line number Diff line change @@ -199,7 +199,7 @@ class Scheduler extends SchedulerOptionsBaseWidget {
199199
200200 _asyncTemplatesTimers ! : any [ ] ;
201201
202- _updatingAppointments : Set < any > = new Set ( ) ;
202+ _updatingAppointments : Set < Appointment > = new Set ( ) ;
203203
204204 _dataSourceLoadedCallback : any ;
205205
@@ -2155,7 +2155,7 @@ class Scheduler extends SchedulerOptionsBaseWidget {
21552155 return this . _workSpace . dragBehavior ;
21562156 }
21572157
2158- _isAppointmentBeingUpdated ( appointmentData : any ) : boolean {
2158+ _isAppointmentBeingUpdated ( appointmentData : Appointment ) : boolean {
21592159 return this . _updatingAppointments . has ( appointmentData ) ;
21602160 }
21612161
You can’t perform that action at this time.
0 commit comments