(url: string | URL | Request)
| 335 | test('parses IPinfo Max anonymous signals', async () => { |
| 336 | let requestedUrl = '' |
| 337 | const fetch = async (url: string | URL | Request) => { |
| 338 | requestedUrl = String(url) |
| 339 | return Response.json({ |
| 340 | anonymous: { |
| 341 | is_proxy: false, |
| 342 | is_relay: true, |
| 343 | is_tor: true, |
| 344 | is_vpn: false, |
| 345 | is_res_proxy: true, |
| 346 | }, |
| 347 | is_anonymous: true, |
| 348 | is_hosting: true, |
| 349 | }) |
| 350 | } |
| 351 | |
| 352 | const privacy = await lookupIpinfoPrivacy({ |
| 353 | ip: IPINFO_PRIVACY_TEST_IP, |
no outgoing calls
no test coverage detected