MCPcopy
hub / github.com/codedogQBY/ReadAny / createSource

Function createSource

packages/core/src/import/webdav-import-service.test.ts:12–21  ·  view source on GitHub ↗
(overrides: Partial<WebDavImportSource> = {})

Source from the content-addressed store, hash-verified

10import type { WebDavImportSource } from "./webdav-import-types";
11
12function createSource(overrides: Partial<WebDavImportSource> = {}): WebDavImportSource {
13 return {
14 kind: "saved",
15 url: "https://dav.example.com",
16 username: "demo",
17 password: "secret",
18 remoteRoot: "readany",
19 ...overrides,
20 };
21}
22
23describe("webdav import path helpers", () => {
24 it("builds root prefix when url does not include remote root", () => {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected