fix(tests): updating test utilities to use { x, y } as well
Relates to #355
This commit is contained in:
parent
b86f923fe5
commit
c1399372f2
|
@ -44,6 +44,8 @@ function createEvent(target, position, data) {
|
||||||
|
|
||||||
data = assign({
|
data = assign({
|
||||||
target: target,
|
target: target,
|
||||||
|
x: position.x,
|
||||||
|
y: position.y,
|
||||||
clientX: position.x,
|
clientX: position.x,
|
||||||
clientY: position.y,
|
clientY: position.y,
|
||||||
offsetX: position.x,
|
offsetX: position.x,
|
||||||
|
|
Loading…
Reference in New Issue