mirror of
https://github.com/videojs/video.js.git
synced 2024-12-16 11:37:29 +02:00
a5758019e5
closes #1667 Fix text track tests. Now that ready is async, we need to tick the clock so the ready handler fires. Remove unneeded ready test
12 lines
341 B
JavaScript
12 lines
341 B
JavaScript
import document from 'global/document';
|
|
import window from 'global/window';
|
|
import sinon from 'sinon';
|
|
|
|
window.q = QUnit;
|
|
window.sinon = sinon;
|
|
|
|
// This may not be needed anymore, but double check before removing
|
|
window.fixture = document.createElement('div');
|
|
window.fixture.id = 'qunit-fixture';
|
|
document.body.appendChild(window.fixture);
|