webcomponent-tests: initialize EventsManager correctly in events tests

This commit is contained in:
juancarmore 2025-07-07 20:10:18 +02:00
parent 256f38ee58
commit 3904ab05b7

View File

@ -10,7 +10,7 @@ describe('Web Component Events', () => {
beforeEach(() => {
component = document.createElement('openvidu-meet') as OpenViduMeet;
eventsManager = new EventsManager(component);
eventsManager = component['eventsManager'] as EventsManager;
document.body.appendChild(component);
});