Skip to main content

Function: resetStatusUpdateManagerForTesting()

resetStatusUpdateManagerForTesting(): void

Defined in: src/stores/sites/useSiteSync.ts:195

Internal

Resets the module-level status update manager singleton.

Returnsโ€‹

void

Remarksโ€‹

The sites sync module keeps a lazily-initialized singleton src/stores/sites/utils/statusUpdateHandler!StatusUpdateManager instance. This helper exists to support deterministic testing and to avoid leaked event subscriptions when modules are reloaded in development.