(value: string)
| 496 | .trim(); |
| 497 | |
| 498 | const tokenizeSearchText = (value: string): string[] => |
| 499 | normalizeSearchText(value) |
| 500 | .split(/[^a-z0-9]+/) |
| 501 | .map((token) => token.trim()) |
| 502 | .filter(Boolean); |
| 503 | |
| 504 | const prepareField = (value?: string): PreparedField => ({ |
| 505 | raw: normalizeSearchText(value ?? ""), |
no test coverage detected