Skip to content

Commit

Permalink
add assert
Browse files Browse the repository at this point in the history
  • Loading branch information
gkatsev committed Nov 9, 2017
1 parent 160ecc4 commit 6bacce3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/unit/video.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -520,10 +520,12 @@ QUnit.test('should return a video player instance', function(assert) {
// });

QUnit.test('make a bunch of players and dipose them', function(assert) {
for (let i = 0; i < 1000; i++) {
for (let i = 0; i < 100; i++) {
const tag = TestHelpers.makeTag();
const player = TestHelpers.makePlayer({techOrder: ['techFaker']}, tag);

player.dispose();
}

assert.ok(true, 'foo');
});

0 comments on commit 6bacce3

Please sign in to comment.