1
0
mirror of https://github.com/videojs/video.js.git synced 2024-12-27 02:43:45 +02:00
video.js/test/globals-shim.js

11 lines
287 B
JavaScript

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');
fixture.id = 'qunit-fixture';
document.body.appendChild(fixture);