(raw: string)
| 138 | } |
| 139 | |
| 140 | function normalizeEnumValue(raw: string): string { |
| 141 | return raw.toLowerCase().replace(/[\s_]+/g, "-"); |
| 142 | } |
| 143 | |
| 144 | function isFailureMode(value: string): value is FailureMode { |
| 145 | return (FAILURE_MODE_VALUES as readonly string[]).includes(value); |
no outgoing calls
no test coverage detected