aboutsummaryrefslogtreecommitdiffstats
path: root/test/unit/deprecated.js
diff options
context:
space:
mode:
authorManoj Kumar <nithmanoj@gmail.com>2016-08-14 10:54:16 +0000
committerMichał Gołębiowski <m.goleb@gmail.com>2016-11-30 12:22:24 +0100
commit1b9575b9d14399e9426b9eacdd92b3717846c3f2 (patch)
treecb0991e1c7eda7b3b496f52d09b361e8e6425016 /test/unit/deprecated.js
parent5b4cb0d33731a58384e02ad51e703e7dcb00e424 (diff)
downloadjquery-1b9575b9d14399e9426b9eacdd92b3717846c3f2.tar.gz
jquery-1b9575b9d14399e9426b9eacdd92b3717846c3f2.zip
Core: Deprecate jQuery.isArray
Fixes gh-2961 Closes gh-3278
Diffstat (limited to 'test/unit/deprecated.js')
-rw-r--r--test/unit/deprecated.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/unit/deprecated.js b/test/unit/deprecated.js
index 27ba1cf88..b56af0ffe 100644
--- a/test/unit/deprecated.js
+++ b/test/unit/deprecated.js
@@ -110,3 +110,9 @@ QUnit.test( "jQuery.parseJSON", function( assert ) {
assert.strictEqual( jQuery.parseJSON( [ 0 ] ), 0, "Input cast to string" );
} );
+
+QUnit.test( "jQuery.isArray", function( assert ) {
+ assert.expect( 1 );
+
+ assert.strictEqual( jQuery.isArray, Array.isArray, "Array.isArray equals jQuery.isArray" );
+} );