mirror of
https://github.com/sartography/bpmn-js.git
synced 2025-01-13 10:34:55 +00:00
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…
x
Reference in New Issue
Block a user