Skip to content

Commit

Permalink
tests: Fix Shaka Player warning
Browse files Browse the repository at this point in the history
  • Loading branch information
avelad committed Nov 11, 2024
1 parent 172b65c commit a2d5924
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tests/tests.js
Original file line number Diff line number Diff line change
Expand Up @@ -124,12 +124,13 @@ describe('Shaka Streamer', () => {
jasmine.DEFAULT_TIMEOUT_INTERVAL = 400 * 1000;
});

beforeEach(() => {
beforeEach(async () => {
video = document.createElement('video');
video.muted = true;
document.body.appendChild(video);

player = new shaka.Player(video);
player = new shaka.Player();
await player.attach(video);
const retryParameters = {
maxAttempts: 5,
timeout: 90e3,
Expand Down

0 comments on commit a2d5924

Please sign in to comment.