aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit/resizable
diff options
context:
space:
mode:
authorMichał Gołębiowski-Owczarek <m.goleb@gmail.com>2021-04-09 23:36:00 +0200
committerMichał Gołębiowski-Owczarek <m.goleb@gmail.com>2024-05-15 00:38:30 +0200
commitdaa6fb55b35065c49c0ffc879c94627bbf85404c (patch)
treec1c90efc224aa82614758262b4e308cc8354ac65 /tests/unit/resizable
parentac8b1e4eee8682e6825730c4823036a90031edad (diff)
downloadjquery-ui-daa6fb55b35065c49c0ffc879c94627bbf85404c.tar.gz
jquery-ui-daa6fb55b35065c49c0ffc879c94627bbf85404c.zip
All: Drop support for jQueries different than the latest for each major
Also, remove the ability to run the test suite in jQuery <1.12.4 & <2.2.4. Closes gh-2249
Diffstat (limited to 'tests/unit/resizable')
-rw-r--r--tests/unit/resizable/options.js15
1 files changed, 6 insertions, 9 deletions
diff --git a/tests/unit/resizable/options.js b/tests/unit/resizable/options.js
index 50b30ce7f..add8d8034 100644
--- a/tests/unit/resizable/options.js
+++ b/tests/unit/resizable/options.js
@@ -525,20 +525,17 @@ QUnit.test( "alsoResize + multiple selection", function( assert ) {
testHelper.drag( ".ui-resizable-se", 400, 400 );
- // Support: IE <=11+, jQuery 3.0 - 3.1 only
- // IE sizing under jQuery 3.0 & 3.1 has a small delta compared to expected values.
- // This delta is small so accept it.
- assert.close( element.width(), 300, 0.01,
+ assert.strictEqual( element.width(), 300,
"resizable constrained width at containment edge" );
- assert.close( element.height(), 200, 0.01,
+ assert.strictEqual( element.height(), 200,
"resizable constrained height at containment edge" );
- assert.close( other1.width(), 250, 0.01,
+ assert.strictEqual( other1.width(), 250,
"alsoResize o1 constrained width at containment edge" );
- assert.close( other1.height(), 150, 0.01,
+ assert.strictEqual( other1.height(), 150,
"alsoResize o1 constrained height at containment edge" );
- assert.close( other2.width(), 250, 0.01,
+ assert.strictEqual( other2.width(), 250,
"alsoResize o2 constrained width at containment edge" );
- assert.close( other2.height(), 150, 0.01,
+ assert.strictEqual( other2.height(), 150,
"alsoResize o2 constrained height at containment edge" );
} );