Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
adrums86 committed Aug 10, 2023
1 parent d484b96 commit 4639842
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/playlist-controller.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -687,6 +687,8 @@ QUnit.test('resets everything for a fast quality change', function(assert) {
let resets = 0;
let removeFuncArgs = {};

this.player.tech_.buffered = () => createTimeRanges(0, 1);

this.playlistController.mediaSource.trigger('sourceopen');
// main
this.standardXHRResponse(this.requests.shift());
Expand Down Expand Up @@ -4764,6 +4766,8 @@ QUnit.test('can pass or select a playlist for fastQualityChange', function(asser

const pc = this.playlistController;

this.player.tech_.buffered = () => createTimeRanges(0, 1);

pc.mediaSource.trigger('sourceopen');
// main
this.standardXHRResponse(this.requests.shift());
Expand Down

0 comments on commit 4639842

Please sign in to comment.