Skip to content

Commit

Permalink
add positive case
Browse files Browse the repository at this point in the history
  • Loading branch information
brandonocasey committed Apr 22, 2021
1 parent d8c07af commit d0e0235
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/segment-loader.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -2641,6 +2641,10 @@ QUnit.module('SegmentLoader', function(hooks) {
loader.remove(5, 4, () => {});
assert.equal(audioRemoves, 0, 'no audio remove');
assert.equal(videoRemoves, 0, 'no video remove');

loader.remove(0, 4, () => {});
assert.equal(audioRemoves, 1, 'valid remove works');
assert.equal(videoRemoves, 1, 'valid remove works');
});
});

Expand Down

0 comments on commit d0e0235

Please sign in to comment.