(params: { x: number; y: number; button?: ClickButton })
| 1098 | } |
| 1099 | |
| 1100 | function formatPressMessage(params: { x: number; y: number; button?: ClickButton }): string { |
| 1101 | if (params.button && params.button !== 'primary') { |
| 1102 | return `Clicked ${params.button} (${params.x}, ${params.y})`; |
| 1103 | } |
| 1104 | return `Tapped (${params.x}, ${params.y})`; |
| 1105 | } |
| 1106 | |
| 1107 | function formatSwipeMessage(count: number, pattern: SwipePattern): string { |
| 1108 | if (count <= 1) return 'Swiped'; |
no outgoing calls
no test coverage detected