Skip to content

Commit

Permalink
fix: add pointer events to enzyme handlers
Browse files Browse the repository at this point in the history
  • Loading branch information
JC Estibariz committed Jun 28, 2024
1 parent a10a92e commit 7d266be
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/jest-helpers/setup-enzyme.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ const handlerNames = {
mouseover: 'onMouseOver',
mouseup: 'onMouseUp',
paste: 'onPaste',
pointercancel: 'onPointerCancel',
pointerdown: 'onPointerDown',
pointermove: 'onPointerMove',
pointerup: 'onPointerUp',
scroll: 'onScroll',
submit: 'onSubmit',
};
Expand Down

0 comments on commit 7d266be

Please sign in to comment.