MCPcopy
hub / github.com/claude-code-best/claude-code / hooks.test.ts

File hooks.test.ts

packages/workflow-engine/src/__tests__/hooks.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { expect, test } from 'bun:test'
2import { AgentAdapterRegistry } from '../agentAdapter.js'
3import { createEngineContext } from '../engine/context.js'
4import { maxConcurrency, Semaphore } from '../engine/concurrency.js'

Callers

nothing calls this directly

Calls 15

buildCtxFunction · 0.85
createBufferingEmitterFunction · 0.85
createHostHandleFunction · 0.85
agentCallKeyFunction · 0.85
createEngineContextFunction · 0.85
makeHooksFunction · 0.85
maxConcurrencyFunction · 0.85
rejectMethod · 0.80
addOutputTokensMethod · 0.80
spentMethod · 0.80
maxMethod · 0.80
defaultMethod · 0.80

Tested by

no test coverage detected