Adam Shaw 8 years ago
parent
commit
f6f76eac3f
1 changed files with 6 additions and 3 deletions
  1. 6 3
      tests/event-drag/repeating.js

+ 6 - 3
tests/event-drag/repeating.js

@@ -43,15 +43,18 @@ describe('event dragging on repeating events', function() {
 							return $(node).css('visibility') !== 'hidden';
 						}).length
 					).toBe(1);
-				});
+				}, 0);
 			},
 			eventDrop: function() {
-				done();
+				setTimeout(function() {
+					done();
+				}, 10)
 			}
 		});
 
 		$('.fc-event:first').simulate('drag', {
-			dx: 100
+			dx: 100,
+			duration: 100 // ample time for separate eventDragStart/eventDrop
 		});
 	});