Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
moveTo: async (to) => {
const el = await elem();
const {left, top} = (await to.getNative()).getBoundingClientRect();
await fireEvent.mouseMove(el, {clientX: left, clientY: top});
}
},