MCPcopy Index your code
hub / github.com/CodebuffAI/codebuff / stream-parser-abort.test.ts

File stream-parser-abort.test.ts

packages/agent-runtime/src/__tests__/stream-parser-abort.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { TEST_AGENT_RUNTIME_IMPL } from '@codebuff/common/testing/impl/agent-runtime'
2import { getInitialSessionState } from '@codebuff/common/types/session-state'
3import { AbortError, isAbortError } from '@codebuff/common/util/error'
4import { beforeEach, describe, expect, it } from 'bun:test'

Callers

nothing calls this directly

Calls 6

getInitialSessionStateFunction · 0.90
processStreamFunction · 0.90
isAbortErrorFunction · 0.90
beforeEachFunction · 0.85
getAssistantTextFunction · 0.85
mockStreamFunction · 0.70

Tested by

no test coverage detected