Skip to content

Commit

Permalink
fix: Tick 2ms in tests for player ready, see videojs/video.js#4665 (#136
Browse files Browse the repository at this point in the history
)
  • Loading branch information
brandonocasey authored and misteroneill committed Oct 24, 2017
1 parent 076b693 commit 87f0d08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion generators/app/templates/test/_plugin.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ QUnit.test('registers itself with video.js', function(assert) {
this.player.<%= functionName %>();

// Tick the clock forward enough to trigger the player to be "ready".
this.clock.tick(1);
this.clock.tick(2);

assert.ok(
this.player.hasClass('<%= className %>'),
Expand Down

0 comments on commit 87f0d08

Please sign in to comment.