Add @playwright/test support

This commit is contained in:
Daniel Imms
2023-08-27 08:08:52 -07:00
parent 2b7b4d6fea
commit fbebabe2e6
24 changed files with 585 additions and 30 deletions
+5 -1
View File
@@ -57,10 +57,14 @@ export class EventEmitter<T, U = void> implements IEventEmitter<T, U> {
}
public dispose(): void {
this.clearListeners();
this._disposed = true;
}
public clearListeners(): void {
if (this._listeners) {
this._listeners.length = 0;
}
this._disposed = true;
}
}