diff --git a/extensions/xai/x-search.test.ts b/extensions/xai/x-search.test.ts index a62631e62f9..d06a7d835be 100644 --- a/extensions/xai/x-search.test.ts +++ b/extensions/xai/x-search.test.ts @@ -1,5 +1,5 @@ import { afterEach, describe, expect, it, vi } from "vitest"; -import { withFetchPreconnect } from "../../src/test-utils/fetch-mock.js"; +import { withFetchPreconnect } from "../../test/helpers/extensions/fetch-mock.js"; import { createXSearchTool } from "./x-search.js"; function installXSearchFetch(payload?: Record) { diff --git a/src/agents/openclaw-tools.web-runtime.test.ts b/src/agents/openclaw-tools.web-runtime.test.ts index a5f90194bb8..d8ba3fb663c 100644 --- a/src/agents/openclaw-tools.web-runtime.test.ts +++ b/src/agents/openclaw-tools.web-runtime.test.ts @@ -1,6 +1,6 @@ import { afterAll, afterEach, beforeEach, describe, expect, it, vi } from "vitest"; import type { OpenClawConfig } from "../config/config.js"; -import type { RuntimeWebFirecrawlMetadata } from "../secrets/runtime-web-tools.types.js"; +import type { RuntimeWebFetchFirecrawlMetadata } from "../secrets/runtime-web-tools.types.js"; import type { RuntimeWebSearchMetadata } from "../secrets/runtime-web-tools.types.js"; import { withFetchPreconnect } from "../test-utils/fetch-mock.js"; @@ -126,7 +126,7 @@ function requireWebSearchTool(config: OpenClawConfig, runtimeWebSearch?: Runtime function requireWebFetchTool( config: OpenClawConfig, - runtimeFirecrawl?: RuntimeWebFirecrawlMetadata, + runtimeFirecrawl?: RuntimeWebFetchFirecrawlMetadata, ) { const tool = createWebFetchTool({ config,