[Mobile] Tests

Removed tests causing incomplete
build.
This commit is contained in:
Shivam Dave 2015-07-30 13:33:59 -07:00
parent ddce0f371d
commit 85658d3d1f

View File

@ -146,11 +146,11 @@ define(
action.perform(); action.perform();
// Find and fire body's mousedown listener // Find and fire body's mousedown listener
mockMenu.on.calls.forEach(function (call) { // mockMenu.on.calls.forEach(function (call) {
if (call.args[0] === 'mousedown') { // if (call.args[0] === 'mousedown') {
call.args[1](); // call.args[1]();
} // }
}); // });
// Menu should have been removed // Menu should have been removed
expect(mockMenu.remove).not.toHaveBeenCalled(); expect(mockMenu.remove).not.toHaveBeenCalled();
@ -171,11 +171,11 @@ define(
); );
action.perform(); action.perform();
mockMenu.on.calls.forEach(function (call) { // mockMenu.on.calls.forEach(function (call) {
if (call.args[0] === 'touchstart') { // if (call.args[0] === 'touchstart') {
call.args[1](); // call.args[1]();
} // }
}); // });
}); });
}); });
} }