Troubleshooting
Subscriptions persist across test cases
@quik/events clears QGlobalEventBus subscriptions on the framework's onReset hook (registered by Module.setup()), not automatically between individual test cases. Call the app's reset hook, or use a dedicated QEventBus instance per test.
Handler errors are silent
Handler errors are caught and logged, not rethrown, so the emitter and other subscribers keep running. Check application logs for the failing handler's error rather than expecting emit() to reject.
Emitted event has no subscribers
emit() resolves successfully even when no handler is registered for the event name — check QGlobalEventBus.events() to confirm a handler is actually attached before emitting.