Disable domain tests, started base tests.

This commit is contained in:
Adsooi 2024-10-12 00:40:46 +02:00
parent 42d5add810
commit 0abb22130f
Signed by: Ad5001
GPG key ID: EF45F9C6AFE20160
6 changed files with 194 additions and 46 deletions

View file

@ -79,7 +79,8 @@ export class BaseEventEmitter {
if(eventType.includes(" ")) { // Unlisten to several different events with the same listener.
let found = false
for(const type of eventType.split(" "))
found ||= this.off(eventType, eventListener)
found ||= this.off(type, eventListener)
return found
} else {
if(!this.constructor.emits.includes(eventType)) {
const className = this.constructor.name