fix(tests): updating test utilities to use { x, y } as well

Relates to #355
This commit is contained in:
Vladimirs Katusenoks 2016-04-27 09:24:13 +02:00
parent b86f923fe5
commit c1399372f2
1 changed files with 2 additions and 0 deletions

View File

@ -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,