aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit/draggable/options.js
diff options
context:
space:
mode:
authorTimmy Willison <timmywil@users.noreply.github.com>2024-05-15 15:19:23 -0400
committerGitHub <noreply@github.com>2024-05-15 15:19:23 -0400
commitf47c7fe44d41d6af9b6f00c7201d991b01b93035 (patch)
tree36af4e26e99e2eea4de5401609ec721643f4bc9c /tests/unit/draggable/options.js
parentec3edb687609af9677317dfd2ec80a5bec7b35c5 (diff)
downloadjquery-ui-f47c7fe44d41d6af9b6f00c7201d991b01b93035.tar.gz
jquery-ui-f47c7fe44d41d6af9b6f00c7201d991b01b93035.zip
Tests: remove code supporting jenkins and testswarm
Close gh-2251
Diffstat (limited to 'tests/unit/draggable/options.js')
-rw-r--r--tests/unit/draggable/options.js9
1 files changed, 3 insertions, 6 deletions
diff --git a/tests/unit/draggable/options.js b/tests/unit/draggable/options.js
index f97696920..41dcf5d53 100644
--- a/tests/unit/draggable/options.js
+++ b/tests/unit/draggable/options.js
@@ -1159,9 +1159,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" ),
@@ -1217,9 +1215,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;