From c4b4ebea4a1679f4148a5f314d6c54c9b564170b Mon Sep 17 00:00:00 2001 From: Andreas Knab Date: Thu, 28 Aug 2014 12:28:07 +0200 Subject: [PATCH] Remove unneeded html5Mock --- test/unit/player.js | 9 --------- 1 file changed, 9 deletions(-) diff --git a/test/unit/player.js b/test/unit/player.js index 79c7e959d..3a21237a0 100644 --- a/test/unit/player.js +++ b/test/unit/player.js @@ -525,9 +525,6 @@ test('should honor default inactivity timeout', function() { // default timeout is 2000ms player = PlayerTest.makePlayer({}); - html5Mock = { player_: player }; - - vjs.Html5.prototype.createEl.call(html5Mock); equal(player.userActive(), true, 'User is active on creation'); clock.tick(1800); @@ -546,9 +543,6 @@ test('should honor configured inactivity timeout', function() { player = PlayerTest.makePlayer({ 'inactivityTimeout': 200 }); - html5Mock = { player_: player }; - - vjs.Html5.prototype.createEl.call(html5Mock); equal(player.userActive(), true, 'User is active on creation'); clock.tick(150); @@ -568,9 +562,6 @@ test('should honor disabled inactivity timeout', function() { player = PlayerTest.makePlayer({ 'inactivityTimeout': 0 }); - html5Mock = { player_: player }; - - vjs.Html5.prototype.createEl.call(html5Mock); equal(player.userActive(), true, 'User is active on creation'); clock.tick(5000);