aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorMichał Gołębiowski-Owczarek <m.goleb@gmail.com>2021-05-14 23:37:19 +0200
committerGitHub <noreply@github.com>2021-05-14 23:37:19 +0200
commit7c6a9f01281a9739f54ef57d7deecb41a873ef38 (patch)
treeb817231c1c6098c41a44713c5e8f2ad428b18457 /tests
parentafe20b79a64266e64011f34b26a30b3d1c62fd47 (diff)
downloadjquery-ui-7c6a9f01281a9739f54ef57d7deecb41a873ef38.tar.gz
jquery-ui-7c6a9f01281a9739f54ef57d7deecb41a873ef38.zip
All: Drop $.ui.escapeSelector in favor of $.escapeSelector
Fixes #14991 Closes gh-1957
Diffstat (limited to 'tests')
-rw-r--r--tests/unit/core/selector.js8
1 files changed, 0 insertions, 8 deletions
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" );
-} );
-
} );