MCPcopy Index your code
hub / github.com/CodebuffAI/codebuff / fetch

Function fetch

web/src/server/__tests__/free-mode-country.test.ts:337–350  ·  view source on GitHub ↗
(url: string | URL | Request)

Source from the content-addressed store, hash-verified

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,

Callers 15

TerminalDemoFunction · 0.50
fetchRepositoriesFunction · 0.50
handleAddRepositoryFunction · 0.50
activateRepositoryFunction · 0.50
confirmRemoveRepositoryFunction · 0.50
fetchAlertsFunction · 0.50
dismissAlertFunction · 0.50
fetchBillingStatusFunction · 0.50
BillingStatusFunction · 0.50
fetchTeamDataFunction · 0.50
handleInviteMemberFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected