MCPcopy
hub / github.com/simstudioai/sim / start

Function start

apps/sim/executor/handlers/agent/agent-handler.test.ts:845–847  ·  view source on GitHub ↗
(controller)

Source from the content-addressed store, hash-verified

843 it('should handle streaming responses with text/event-stream content type', async () => {
844 const mockStreamBody = new ReadableStream({
845 start(controller) {
846 controller.close()
847 },
848 })
849
850 mockExecuteProviderRequest.mockResolvedValueOnce({

Callers

nothing calls this directly

Calls 1

closeMethod · 0.65

Tested by

no test coverage detected