(value: string)
| 217 | }; |
| 218 | |
| 219 | const sanitizeSlug = (value: string): string => |
| 220 | value |
| 221 | .toLowerCase() |
| 222 | .replace(/[^a-z0-9]+/g, "_") |
| 223 | .replace(/^_+|_+$/g, ""); |
| 224 | |
| 225 | const sanitizeId = (value: string): string => |
| 226 | value |
no test coverage detected