From 87f0d08119a825098e944e37a20d95596306eae2 Mon Sep 17 00:00:00 2001 From: Brandon Casey Date: Tue, 24 Oct 2017 18:19:19 +0000 Subject: [PATCH] fix: Tick 2ms in tests for player ready, see https://github.com/videojs/video.js/pull/4665 (#136) --- generators/app/templates/test/_plugin.test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generators/app/templates/test/_plugin.test.js b/generators/app/templates/test/_plugin.test.js index 1386926a..63ed7ac6 100644 --- a/generators/app/templates/test/_plugin.test.js +++ b/generators/app/templates/test/_plugin.test.js @@ -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 %>'),