mirror of
https://github.com/videojs/video.js.git
synced 2025-01-27 11:22:06 +02:00
check how many events were triggered
This commit is contained in:
parent
b8b23d00de
commit
4cefbf6bac
@ -156,6 +156,7 @@ test('Plugins should not get events after stopImmediatePropagation is called', f
|
||||
player['testerPlugin']({});
|
||||
|
||||
deepEqual(order, expectedOrder.slice(0, order.length), "plugins should receive events in order of initialization, until stopImmediatePropagation");
|
||||
player.dispose();
|
||||
|
||||
})
|
||||
equal(order.length, 1, "only one event listener should have triggered");
|
||||
player.dispose();
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user