File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -81,7 +81,7 @@ describe('dragElement', function() {
8181 expect ( args [ 1 ] ) . toEqual ( 10 ) ;
8282 } ) ;
8383
84- it ( 'should pass the event to doneFn on mouseup after mousemove' , function ( ) {
84+ it ( 'does not pass the event to doneFn on mouseup after mousemove' , function ( ) {
8585 var args = [ ] ;
8686 var options = {
8787 element : this . element ,
@@ -99,8 +99,7 @@ describe('dragElement', function() {
9999 mouseEvent ( 'mousemove' , this . x + 10 , this . y + 10 ) ;
100100 mouseEvent ( 'mouseup' , this . x , this . y ) ;
101101
102- expect ( args . length ) . toBe ( 1 ) ;
103- expect ( args [ 0 ] . type ) . toBe ( 'mouseup' ) ;
102+ expect ( args . length ) . toBe ( 0 ) ;
104103 } ) ;
105104
106105 it ( 'should pass numClicks and event to clickFn on mouseup after no/small mousemove' , function ( ) {
You can’t perform that action at this time.
0 commit comments