(method: string, path: string, body: ReadableStream | null, headers = {})
| 100 | } |
| 101 | |
| 102 | function createRequest(method: string, path: string, body: ReadableStream | null, headers = {}) { |
| 103 | return new Request(new URL("https://registry.com" + path), { method, body: body, headers }); |
| 104 | } |
| 105 | |
| 106 | function shuffleArray<T>(array: T[]) { |
| 107 | for (let i = array.length - 1; i > 0; i--) { |
no outgoing calls
no test coverage detected