mirror of
https://github.com/nasa/openmct.git
synced 2025-05-09 03:53:19 +00:00
[Mobile] Tests
Removed mockMenu from ContextMenuGestureSpec.
This commit is contained in:
parent
6b65ae77e7
commit
f46a0853b9
@ -81,12 +81,6 @@ define(
|
|||||||
|
|
||||||
// Capture the contextmenu callback
|
// Capture the contextmenu callback
|
||||||
fireGesture = mockElement.on.mostRecentCall.args[1];
|
fireGesture = mockElement.on.mostRecentCall.args[1];
|
||||||
|
|
||||||
mockMenu.on.calls.forEach(function (call) {
|
|
||||||
if (call.args[0] === 'touchstart') {
|
|
||||||
call.args[1](mockEvent);
|
|
||||||
}
|
|
||||||
});
|
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user