Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/TanStack/ai
/ worker.test.ts
File
worker.test.ts
packages/ai-isolate-cloudflare/tests/worker.test.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
{ describe, expect, it } from
'vitest'
2
import
{ generateToolWrappers, wrapCode } from
'../src/worker/wrap-code'
3
import
type
{
4
ExecuteResponse,
Callers
nothing calls this directly
Calls
7
generateToolWrappers
Function · 0.90
wrapCode
Function · 0.90
reject
Function · 0.85
resolve
Method · 0.80
fetch
Method · 0.65
get
Method · 0.65
addEventListener
Method · 0.45
Tested by
no test coverage detected