From 7c6a9f01281a9739f54ef57d7deecb41a873ef38 Mon Sep 17 00:00:00 2001 From: Michał Gołębiowski-Owczarek Date: Fri, 14 May 2021 23:37:19 +0200 Subject: All: Drop $.ui.escapeSelector in favor of $.escapeSelector Fixes #14991 Closes gh-1957 --- tests/unit/core/selector.js | 8 -------- 1 file changed, 8 deletions(-) (limited to 'tests') diff --git a/tests/unit/core/selector.js b/tests/unit/core/selector.js index 6d867f634..61f4a2381 100644 --- a/tests/unit/core/selector.js +++ b/tests/unit/core/selector.js @@ -3,7 +3,6 @@ define( [ "jquery", "lib/helper", "ui/data", - "ui/escape-selector", "ui/focusable", "ui/tabbable" ], function( QUnit, $, helper ) { @@ -280,11 +279,4 @@ QUnit.test( "tabbable - dimensionless parent with overflow", function( assert ) assert.isTabbable( "#dimensionlessParent", "input" ); } ); -QUnit.test( "escapeSelector", function( assert ) { - assert.expect( 1 ); - - assert.equal( $( "#" + $.ui.escapeSelector( "weird-['x']-id" ) ).length, 1, - "properly escapes selectors to use as an id" ); -} ); - } ); -- cgit v1.2.3