diff options
Diffstat (limited to 'test/unit/core.js')
-rw-r--r-- | test/unit/core.js | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/unit/core.js b/test/unit/core.js index f18ad2e82..a42346d00 100644 --- a/test/unit/core.js +++ b/test/unit/core.js @@ -382,6 +382,12 @@ QUnit[ typeof Symbol === "function" ? "test" : "skip" ]( "isPlainObject(Symbol)" assert.equal( jQuery.isPlainObject( Object( Symbol() ) ), false, "Symbol inside an object" ); } ); +QUnit.test( "isPlainObject(localStorage)", function( assert ) { + assert.expect( 1 ); + + assert.equal( jQuery.isPlainObject( localStorage ), false ); +} ); + QUnit[ "assign" in Object ? "test" : "skip" ]( "isPlainObject(Object.assign(...))", function( assert ) { assert.expect( 1 ); |