diff --git a/knowledge-fs/packages/api/src/source-product-workflow-runtime.test.ts b/knowledge-fs/packages/api/src/source-product-workflow-runtime.test.ts index ae05d33ca9c..8a68e0332b6 100644 --- a/knowledge-fs/packages/api/src/source-product-workflow-runtime.test.ts +++ b/knowledge-fs/packages/api/src/source-product-workflow-runtime.test.ts @@ -24,6 +24,7 @@ import { createSourceProductWorkflowRuntime, } from "./source-product-workflow-runtime"; import { SourceVersionConflictError } from "./source-repository"; +import type { WebsiteCrawlInput } from "./website-crawl-connector"; const tenantId = "tenant-source-runtime"; const knowledgeSpaceId = "space-source-runtime"; @@ -1106,7 +1107,7 @@ describe("source-product workflow provider imports", () => { it("fetches every selected URL even when multiple selections resolve to the same page", async () => { const source = sourceRecord("ambiguous-crawl-import", { type: "web" }); - const crawl = vi.fn(async () => ({ + const crawl = vi.fn(async (_input: WebsiteCrawlInput) => ({ pages: [{ content: "one", sourceUrl: "https://example.test/selected", title: "One" }], })); const fixture = await createFixture({