(event, opt_prevetDefault)
| 32 | }); |
| 33 | |
| 34 | function sendEvent(event, opt_prevetDefault) { |
| 35 | event.preventDefault = opt_prevetDefault || (() => {}); |
| 36 | event.stopPropagation = () => {}; |
| 37 | eventListeners[event.type](event); |
| 38 | } |
| 39 | |
| 40 | it('should only subscribe to touchstart initially', () => { |
| 41 | expect(eventListeners['touchstart']).to.not.equal(undefined); |
no outgoing calls
no test coverage detected