Tests: Switch from QUnit.jsDump to QUnit.dump

`QUnit.jsDump` was renamed to `QUnit.dump` in QUnit 2.0.

Ref gh-2157
This commit is contained in:
Michał Gołębiowski-Owczarek 2023-03-29 00:30:06 +02:00 committed by Michał Gołębiowski-Owczarek
parent 9dc2bf9737
commit f36fe9e50d

View File

@ -105,7 +105,7 @@ QUnit.test( "positions", function( assert ) {
assert.deepEqual( el.offset(), { assert.deepEqual( el.offset(), {
top: start.top + offsets[ vertical ] * ( my ? -1 : 1 ), top: start.top + offsets[ vertical ] * ( my ? -1 : 1 ),
left: start.left + offsets[ horizontal ] * ( 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 } ) );
} ); } );
} ); } );
} ); } );