(value: string)
| 445 | .trim(); |
| 446 | |
| 447 | const tokenizeSearchText = (value: string): string[] => |
| 448 | normalizeSearchText(value) |
| 449 | .split(/[^a-z0-9]+/) |
| 450 | .map((token) => token.trim()) |
| 451 | .filter(Boolean); |
| 452 | |
| 453 | const prepareField = (value?: string): PreparedField => ({ |
| 454 | raw: normalizeSearchText(value ?? ""), |
no test coverage detected