fix(docker): harden frontend runtime config
This commit is contained in:
@@ -13,7 +13,7 @@ beforeEach(() => {
|
||||
test("opens an EventSource and feeds NAMED events to the store", () => {
|
||||
renderHook(() => useSessionStream("s1"));
|
||||
const es = FakeEventSource.instances[0];
|
||||
expect(es.url).toContain("/sessions/s1/events");
|
||||
expect(es.url).toBe("http://localhost:8787/sessions/s1/events");
|
||||
// Backend sends `event: ui_request` (named) — drive the addEventListener path
|
||||
// that production relies on, not the unnamed onmessage fallback.
|
||||
act(() =>
|
||||
|
||||
Reference in New Issue
Block a user