(count: number, pattern: SwipePattern)
| 1105 | } |
| 1106 | |
| 1107 | function formatSwipeMessage(count: number, pattern: SwipePattern): string { |
| 1108 | if (count <= 1) return 'Swiped'; |
| 1109 | return pattern === 'ping-pong' ? `Swiped ${count} times (ping-pong)` : `Swiped ${count} times`; |
| 1110 | } |
| 1111 | |
| 1112 | function formatTextLengthMessage(action: 'Typed' | 'Filled', text: string): string { |
| 1113 | return `${action} ${Array.from(text).length} chars`; |
no outgoing calls
no test coverage detected