Skip to content

Commit

Permalink
[enzyme-adapter-utils] [New] Add event name mapping for transitionend
Browse files Browse the repository at this point in the history
Fixes #1258.
  • Loading branch information
John Krueger authored and ljharb committed Nov 27, 2017
1 parent 3ac9895 commit bbf39e0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/enzyme-adapter-utils/src/Utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ export function mapNativeEventNames(event) {
beforeinput: 'beforeInput',
mouseenter: 'mouseEnter',
mouseleave: 'mouseLeave',
transitionend: 'transitionEnd',
};

return nativeToReactEventMap[event] || event;
Expand Down

0 comments on commit bbf39e0

Please sign in to comment.