MCPcopy Create free account
hub / github.com/bigskysoftware/_hyperscript / eventsource.js

File eventsource.js

test/ext/eventsource.js:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { test, expect } from '../fixtures.js'
2
3/**
4 * Helper: mock fetch in-browser to return a SSE stream.

Callers

nothing calls this directly

Calls 4

mockSSEFunction · 0.85
restoreFetchFunction · 0.85
evaluateFunction · 0.50
setTimeoutFunction · 0.50

Tested by

no test coverage detected