mirror of
https://github.com/openclaw/openclaw.git
synced 2026-03-23 07:51:33 +00:00
fix(check): format onboard search test
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user