]> source.dussan.org Git - jquery-ui.git/commitdiff
Tests: Switch from QUnit.jsDump to QUnit.dump
authorMichał Gołębiowski-Owczarek <m.goleb@gmail.com>
Tue, 28 Mar 2023 22:30:06 +0000 (00:30 +0200)
committerMichał Gołębiowski-Owczarek <m.goleb@gmail.com>
Wed, 10 May 2023 08:53:57 +0000 (10:53 +0200)
`QUnit.jsDump` was renamed to `QUnit.dump` in QUnit 2.0.

Ref gh-2157

tests/unit/position/core.js

index dac56f5b9067e05be87b7d19dafe415c9475ffc0..9483e716de702b921247b8fd0fe76468344ad0cb 100644 (file)
@@ -105,7 +105,7 @@ QUnit.test( "positions", function( assert ) {
                                assert.deepEqual( el.offset(), {
                                        top: start.top + offsets[ vertical ] * ( my ? -1 : 1 ),
                                        left: start.left + offsets[ horizontal ] * ( my ? -1 : 1 )
-                               }, "Position via " + QUnit.jsDump.parse( { my: _my, at: _at } ) );
+                               }, "Position via " + QUnit.dump.parse( { my: _my, at: _at } ) );
                        } );
                } );
        } );