This commit is contained in:
Matt Kane
2026-04-01 11:51:57 +01:00
parent c8e318da5c
commit ca3c2b77e1
88 changed files with 313 additions and 481 deletions

View File

@@ -272,11 +272,7 @@ test.describe("Search", () => {
// TODO: getSuggestions fails in dev mode -- needs investigation
await enableSearch(serverInfo, "posts");
const res = await apiRequest(
serverInfo,
"GET",
"/_emdash/api/search/suggest?q=Fir&limit=5",
);
const res = await apiRequest(serverInfo, "GET", "/_emdash/api/search/suggest?q=Fir&limit=5");
expect(res.status).toBe(200);
const body = await res.json();