()
| 65 | |
| 66 | export {HttpCachingProxy}; |
| 67 | export async function givenCachingProxy() { |
| 68 | const proxy = new HttpCachingProxy({ |
| 69 | cachePath: path.resolve(__dirname, '.http-cache'), |
| 70 | logError: false, |
| 71 | timeout: 5000, |
| 72 | }); |
| 73 | await proxy.start(); |
| 74 | return proxy; |
| 75 | } |
| 76 | |
| 77 | export async function isGeoCoderServiceAvailable(service: Geocoder) { |
| 78 | try { |
no test coverage detected