diff --git a/platform/representation/test/actions/ContextMenuActionSpec.js b/platform/representation/test/actions/ContextMenuActionSpec.js index af03e00399..c1c6dc51ca 100644 --- a/platform/representation/test/actions/ContextMenuActionSpec.js +++ b/platform/representation/test/actions/ContextMenuActionSpec.js @@ -146,11 +146,11 @@ define( action.perform(); // Find and fire body's mousedown listener - mockMenu.on.calls.forEach(function (call) { - if (call.args[0] === 'mousedown') { - call.args[1](); - } - }); +// mockMenu.on.calls.forEach(function (call) { +// if (call.args[0] === 'mousedown') { +// call.args[1](); +// } +// }); // Menu should have been removed expect(mockMenu.remove).not.toHaveBeenCalled(); @@ -171,11 +171,11 @@ define( ); action.perform(); - mockMenu.on.calls.forEach(function (call) { - if (call.args[0] === 'touchstart') { - call.args[1](); - } - }); +// mockMenu.on.calls.forEach(function (call) { +// if (call.args[0] === 'touchstart') { +// call.args[1](); +// } +// }); }); }); }