Commit 344e9f7f by Will Daly

Fix flakey js caption test

parent e2d23fcc
......@@ -9,6 +9,7 @@
videoCaption = state.videoCaption;
videoSpeedControl = state.videoSpeedControl;
videoControl = state.videoControl;
$.fn.scrollTo.reset();
}
beforeEach(function () {
......@@ -20,7 +21,6 @@
afterEach(function () {
YT.Player = undefined;
$.fn.scrollTo.reset();
$('.subtitles').remove();
$('source').remove();
window.onTouchBasedDevice = oldOTBD;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment