From f46a0853b97f9c8a3b05939dcbf76ccada73edaa Mon Sep 17 00:00:00 2001 From: Shivam Dave Date: Tue, 4 Aug 2015 16:58:37 -0700 Subject: [PATCH] [Mobile] Tests Removed mockMenu from ContextMenuGestureSpec. --- .../representation/test/gestures/ContextMenuGestureSpec.js | 6 ------ 1 file changed, 6 deletions(-) diff --git a/platform/representation/test/gestures/ContextMenuGestureSpec.js b/platform/representation/test/gestures/ContextMenuGestureSpec.js index 8d6b685762..d3e5243b3b 100644 --- a/platform/representation/test/gestures/ContextMenuGestureSpec.js +++ b/platform/representation/test/gestures/ContextMenuGestureSpec.js @@ -81,12 +81,6 @@ define( // Capture the contextmenu callback fireGesture = mockElement.on.mostRecentCall.args[1]; - - mockMenu.on.calls.forEach(function (call) { - if (call.args[0] === 'touchstart') { - call.args[1](mockEvent); - } - }); }); }); }