| 60 | // Mock URL constructor for URL handling |
| 61 | if (!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 |
nothing calls this directly
no outgoing calls
no test coverage detected