This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* global jest */ | |
var superagent = jest.genMockFunction().mockReturnThis(); | |
var Response = jest.genMockFunction().mockImplementation(function() { | |
this.status = 200; | |
this.ok = true; | |
}); | |
Response.prototype.get = jest.genMockFunction(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* @jsx React.DOM | |
*/ | |
var React = require('react'); | |
var TapEventMixin = { | |
Tap_onTouchStart: function(event) { | |
this.hasTouch = true; |