(value)
| 372 | } |
| 373 | |
| 374 | function normalizeRunCount(value) { |
| 375 | const numeric = Number(value); |
| 376 | if (!Number.isFinite(numeric)) { |
| 377 | return 1; |
| 378 | } |
| 379 | return Math.min(50, Math.max(1, Math.floor(numeric))); |
| 380 | } |
| 381 | |
| 382 | function normalizeAutoRunTimerKind(value = '') { |
| 383 | const normalized = String(value || '').trim().toLowerCase(); |
no outgoing calls
no test coverage detected