The best way to control Claude Code, Codex and more from any computer or phone
| 1 | import { expect, it } from "vite-plus/test"; |
| 2 | |
| 3 | import { threadLinkMatcher } from "./ThreadLinkPicker.logic"; |
| 4 | |
| 5 | it.each([ |
| 6 | ["cafe", "Café planning", undefined], |
| 7 | ["café", "Café planning", undefined], |
| 8 | ["ışık", "Işık planı", "tr-TR"], |
| 9 | ])("matches %s against %s", (query, text, locale) => { |
| 10 | expect(threadLinkMatcher(query, locale)(text)).toBe(true); |
| 11 | }); |