Open History to see the last commit
1import { expect, it } from "vite-plus/test";
2
3import { threadLinkMatcher } from "./ThreadLinkPicker.logic";
4
5it.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});