( handler: (url: string, options?: FetchOptions) => Response | Promise<Response>, )
| 4 | import { WebDavClient } from "./webdav-client"; |
| 5 | |
| 6 | function installFetchStub( |
| 7 | handler: (url: string, options?: FetchOptions) => Response | Promise<Response>, |
| 8 | ): void { |
| 9 | setPlatformService({ |
| 10 | platformType: "web", |
| 11 | isMobile: false, |
| 12 | isDesktop: false, |
| 13 | fetch: handler, |
| 14 | } as unknown as IPlatformService); |
| 15 | } |
| 16 | |
| 17 | describe("WebDavClient PROPFIND parsing", () => { |
| 18 | afterEach(() => { |
no test coverage detected