mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-12 08:00:42 +00:00
test: tighten firecrawl fetch config assertion
This commit is contained in:
@@ -353,7 +353,12 @@ describe("firecrawl tools", () => {
|
||||
|
||||
expect(provider.id).toBe("firecrawl");
|
||||
expect(provider.credentialPath).toBe("plugins.entries.firecrawl.config.webFetch.apiKey");
|
||||
expect(applied.plugins?.entries?.firecrawl?.enabled).toBe(true);
|
||||
const pluginEntry = applied.plugins?.entries?.firecrawl;
|
||||
expect(pluginEntry).toBeDefined();
|
||||
if (!pluginEntry) {
|
||||
throw new Error("expected Firecrawl fetch plugin entry");
|
||||
}
|
||||
expect(pluginEntry.enabled).toBe(true);
|
||||
});
|
||||
|
||||
it("passes proxy and storeInCache through the fetch provider tool", async () => {
|
||||
|
||||
Reference in New Issue
Block a user