fix(check): format onboard search test

This commit is contained in:
Vincent Koc
2026-03-21 08:31:53 -07:00
parent a27aeeabf0
commit ffce904a10

View File

@@ -249,9 +249,7 @@ describe("setupSearch", () => {
const result = await setupSearch(cfg, runtime, prompter);
expect(result.tools?.web?.search?.provider).toBe("brave");
expect(result.tools?.web?.search?.enabled).toBeUndefined();
const missingNote = notes.find((n) =>
n.message.includes("No Brave Search API key stored"),
);
const missingNote = notes.find((n) => n.message.includes("No Brave Search API key stored"));
expect(missingNote).toBeDefined();
} finally {
if (original === undefined) {