reset static method
void
reset()
Complete reset - clear everything (for testing)
Disposes all dependencies and resets Zenify to initial state. Call this in tearDown() of your tests.
Implementation
static void reset() {
ZenModuleRegistry.clear();
ZenReactiveSystem.instance.clearListeners();
_lifecycleManager.dispose();
_currentScope = null;
// Dispose root scope if it exists
if (_rootScope != null && !_rootScope!.isDisposed) {
_rootScope!.dispose();
}
_rootScope = null;
ZenLogger.logInfo('🔄 Zen reset complete');
}