Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Noumena-Network/code
/ utils.test.ts
File
utils.test.ts
src/tools/WebFetchTool/utils.test.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
{ afterEach, beforeEach, describe, expect, it } from
'bun:test'
2
import
axios from
'axios'
3
import
type
{ AxiosResponse } from
'axios'
4
import
{
Callers
nothing calls this directly
Calls
8
validateURL
Function · 0.85
isPermittedRedirect
Function · 0.85
clearWebFetchCache
Function · 0.85
makeRedirectError
Function · 0.85
makeAxiosResponse
Function · 0.85
getWithPermittedRedirects
Function · 0.85
getURLMarkdownContent
Function · 0.85
checkDomainBlocklist
Function · 0.85
Tested by
no test coverage detected