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