MCPcopy
hub / github.com/callumalpass/tasknotes / URL

Class URL

tests/test-setup.ts:62–68  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

60// Mock URL constructor for URL handling
61if (!global.URL) {
62 global.URL = class URL {
63 constructor(public href: string, public base?: string) {}
64 toString() { return this.href; }
65
66 static createObjectURL() { return ''; }
67 static revokeObjectURL() {}
68 } as any;
69}
70
71// Mock fetch for HTTP requests

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected