aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit/resizable/resizable_test_helpers.js
blob: 7ab5aa1a545ab2902e6fd85a9bea0e2b3d5e395a (plain)
1
2
3
4
5
6
7
8
9
10
11
TestHelpers.resizable = {
	drag: function( el, dx, dy ) {
		// this mouseover is to work around a limitation in resizable
		// TODO: fix resizable so handle doesn't require mouseover in order to be used
		$( el ).simulate("mouseover").simulate( "drag", {
			moves: 2,
			dx: dx,
			dy: dy
		});
	}
};