(value?: string | null, fallback = '')
| 52 | } |
| 53 | |
| 54 | export function trimText(value?: string | null, fallback = '') { |
| 55 | return typeof value === 'string' && value.trim() ? value.trim() : fallback; |
| 56 | } |
| 57 | |
| 58 | export function currentSession(snapshot: Snapshot) { |
| 59 | const selected = snapshot.sessions.selectedSessionId || snapshot.run.sessionId; |
no outgoing calls
no test coverage detected