| 5 | vi.stubGlobal( |
| 6 | 'BroadcastChannel', |
| 7 | class { |
| 8 | postMessage = vi.fn() |
| 9 | addEventListener = vi.fn() |
| 10 | removeEventListener = vi.fn() |
| 11 | close = vi.fn() |
| 12 | onmessage: any = null |
| 13 | }, |
| 14 | ) |
| 15 | |
| 16 | // Track WebSocket and EventSource constructor calls |
nothing calls this directly
no outgoing calls
no test coverage detected