diff options
author | Manoj Kumar <nithmanoj@gmail.com> | 2016-08-14 10:54:16 +0000 |
---|---|---|
committer | Michał Gołębiowski <m.goleb@gmail.com> | 2016-11-30 12:22:24 +0100 |
commit | 1b9575b9d14399e9426b9eacdd92b3717846c3f2 (patch) | |
tree | cb0991e1c7eda7b3b496f52d09b361e8e6425016 /test/unit/deprecated.js | |
parent | 5b4cb0d33731a58384e02ad51e703e7dcb00e424 (diff) | |
download | jquery-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.js | 6 |
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" ); +} ); |