()
| 4 | |
| 5 | // Clear globalThis between tests to avoid cross-test contamination |
| 6 | function clearGlobals() { |
| 7 | globalThis.__TANSTACK_DEVTOOLS_SERVER__ = null |
| 8 | globalThis.__TANSTACK_DEVTOOLS_WSS_SERVER__ = null |
| 9 | globalThis.__TANSTACK_EVENT_TARGET__ = null |
| 10 | } |
| 11 | |
| 12 | describe('ServerEventBus', () => { |
| 13 | let bus: ServerEventBus |