Skip to content

Commit

Permalink
remove computeLive test
Browse files Browse the repository at this point in the history
  • Loading branch information
jony89 committed Feb 26, 2020
1 parent 077431b commit c356efd
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions tests/unit/controller/stream-controller.js
Expand Up @@ -320,15 +320,5 @@ describe('StreamController', function () {
const liveSyncPosition = streamController.computeLivePosition(8, levelDetails);
expect(liveSyncPosition).to.equal(27);
});

it('should not return value that is less than the video current time', function () {
streamController.media = {
currentTime: 25
};
streamController.config.liveSyncDuration = 1;
const levelDetails = { totalduration: 14 };
const liveSyncPosition = streamController.computeLivePosition(8, levelDetails);
expect(liveSyncPosition).to.equal(25);
});
});
});

0 comments on commit c356efd

Please sign in to comment.