(type, payload)
| 217 | } |
| 218 | |
| 219 | function createTouchEvent(type, payload) { |
| 220 | return createEvent(type, { |
| 221 | ...payload, |
| 222 | detail: 0, |
| 223 | sourceCapabilities: { |
| 224 | firesTouchEvents: true, |
| 225 | }, |
| 226 | }); |
| 227 | } |
| 228 | |
| 229 | /** |
| 230 | * Mock event objects |
no test coverage detected