MCPcopy Index your code
hub / github.com/simstudioai/sim / agent-handler.test.ts

File agent-handler.test.ts

apps/sim/executor/handlers/agent/agent-handler.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { setupGlobalFetchMock } from '@sim/testing'
2import { afterEach, beforeEach, describe, expect, it, type Mock, vi } from 'vitest'
3import { getAllBlocks } from '@/blocks'
4import { BlockType, isMcpTool } from '@/executor/constants'

Callers

nothing calls this directly

Calls 11

setupGlobalFetchMockFunction · 0.90
isMcpToolFunction · 0.90
mockDBForCustomToolFunction · 0.85
mockDBFailureFunction · 0.85
parseMethod · 0.80
setMethod · 0.65
resolveMethod · 0.65
canHandleMethod · 0.65
executeMethod · 0.65
replaceMethod · 0.65
pushMethod · 0.45

Tested by

no test coverage detected