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({
|
||||
target: target,
|
||||
x: position.x,
|
||||
y: position.y,
|
||||
clientX: position.x,
|
||||
clientY: position.y,
|
||||
offsetX: position.x,
|
||||
|
|
Loading…
Reference in New Issue