Skip to content

Commit

Permalink
Add verbose event logging on Ads testing
Browse files Browse the repository at this point in the history
  • Loading branch information
wvanhaevre committed Dec 24, 2024
1 parent 34c1f23 commit 73e4f30
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion e2e/src/tests/Ads.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,9 @@ export default function (spec: TestScope) {
]);

// TEMP
player.addEventListener(Object.values(PlayerEventType), console.log);
player.addEventListener(Object.values(PlayerEventType), (e) => {
console.log(`[PlayerEvent] received: ${JSON.stringify(e, null, 4)}`);
});

// Start autoplay
player.autoplay = true;
Expand Down

0 comments on commit 73e4f30

Please sign in to comment.