diff options
author | Timmy Willison <timmywil@users.noreply.github.com> | 2024-05-15 15:19:23 -0400 |
---|---|---|
committer | Timmy Willison <timmywil@users.noreply.github.com> | 2024-06-04 09:50:24 -0400 |
commit | 05d03ee38d29f2ac830bee7c1e16a8e9151706f7 (patch) | |
tree | 4dff9b2f1be4ffd8ca0b9da9d0e1a660424716e5 /tests/unit/draggable/options.js | |
parent | f0174261a47661b2dd39ed5bb0d6bd28bd60029e (diff) | |
download | jquery-ui-05d03ee38d29f2ac830bee7c1e16a8e9151706f7.tar.gz jquery-ui-05d03ee38d29f2ac830bee7c1e16a8e9151706f7.zip |
Tests: remove code supporting jenkins and testswarm
Closes gh-2256
Diffstat (limited to 'tests/unit/draggable/options.js')
-rw-r--r-- | tests/unit/draggable/options.js | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/tests/unit/draggable/options.js b/tests/unit/draggable/options.js index c98c9f9d8..129c23692 100644 --- a/tests/unit/draggable/options.js +++ b/tests/unit/draggable/options.js @@ -1173,9 +1173,7 @@ QUnit.test( "#6817: auto scroll goes double distance when dragging", function( a scroll: true, stop: function( e, ui ) { assert.equal( ui.offset.top, newY, "offset of item matches pointer position after scroll" ); - - // TODO: fix IE8 testswarm IFRAME positioning bug so assert.close can be turned back to equal - assert.close( ui.offset.top - offsetBefore.top, distance, 1, "offset of item only moves expected distance after scroll" ); + assert.equal( ui.offset.top - offsetBefore.top, distance, 1, "offset of item only moves expected distance after scroll" ); } } ), scrollSensitivity = element.draggable( "option", "scrollSensitivity" ), @@ -1231,9 +1229,8 @@ QUnit.test( "snap, snapMode, and snapTolerance", function( assert ) { moves: 1 } ); - // TODO: fix IE8 testswarm IFRAME positioning bug so assert.close can be turned back to equal - assert.close( element.offset().left, newX, 1, "doesn't snap outside the snapTolerance" ); - assert.close( element.offset().top, newY, 1, "doesn't snap outside the snapTolerance" ); + assert.equal( element.offset().left, newX, 1, "doesn't snap outside the snapTolerance" ); + assert.equal( element.offset().top, newY, 1, "doesn't snap outside the snapTolerance" ); newX += 3; @@ -1362,10 +1359,8 @@ QUnit.test( "#8459: element can snap to an element that was removed during drag" assert.ok( true, "Opera <12.14 and Safari <6.0 report wrong values for $.contains in jQuery < 1.8" ); assert.ok( true, "Opera <12.14 and Safari <6.0 report wrong values for $.contains in jQuery < 1.8" ); } else { - - // TODO: fix IE8 testswarm IFRAME positioning bug so assert.close can be turned back to equal - assert.close( element.offset().left, newX, 1, "doesn't snap to a removed element" ); - assert.close( element.offset().top, newY, 1, "doesn't snap to a removed element" ); + assert.equal( element.offset().left, newX, 1, "doesn't snap to a removed element" ); + assert.equal( element.offset().top, newY, 1, "doesn't snap to a removed element" ); } } ); |