diff --git a/src/utils.js b/src/utils.js index 64118a5..5453607 100644 --- a/src/utils.js +++ b/src/utils.js @@ -179,4 +179,6 @@ export async function triggerMouseEvent(chart, type, el) { node.dispatchEvent(event); await promise; + + return event; }