Cleaned up commented out debug code

refs a547ae4b68
This commit is contained in:
Naz 2023-07-03 18:58:17 +08:00
parent a547ae4b68
commit 87d644ef88
No known key found for this signature in database

View File

@ -12,8 +12,6 @@ import {ModelToDomainEventInterceptor} from '../src';
class EventRegistry extends events.EventEmitter {
hasRegisteredListener(eventName: string, listenerName: string) {
// console.log(this.listeners(eventName));
// console.log('checking for: ', listenerName);
return !!(this.listeners(eventName).find(listener => (listener.name === listenerName)));
}
}