MCPcopy Create free account
hub / github.com/continuedev/continue / createMockStream

Function createMockStream

core/autocomplete/generation/utils.vitest.ts:13–17  ·  view source on GitHub ↗
(chunks: string[])

Source from the content-addressed store, hash-verified

11 });
12
13 async function* createMockStream(chunks: string[]): AsyncGenerator<string> {
14 for (const chunk of chunks) {
15 yield chunk;
16 }
17 }
18
19 async function streamToString(
20 stream: AsyncGenerator<string>,

Callers 1

utils.vitest.tsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected