1
0
Fork 0
mirror of https://github.com/DanielnetoDotCom/YouPHPTube synced 2025-10-04 10:19:24 +02:00
This commit is contained in:
Daniel Neto 2023-07-02 19:30:57 -03:00
parent ed9048ec37
commit 14f492d68f
60 changed files with 27146 additions and 0 deletions

20
node_modules/videojs-playlist/test/plugin.test.js generated vendored Normal file
View file

@ -0,0 +1,20 @@
import QUnit from 'qunit';
import sinon from 'sinon';
import videojs from 'video.js';
import plugin from '../src/plugin';
QUnit.test('the environment is sane', function(assert) {
assert.strictEqual(typeof Array.isArray, 'function', 'es5 exists');
assert.strictEqual(typeof sinon, 'object', 'sinon exists');
assert.strictEqual(typeof videojs, 'function', 'videojs exists');
assert.strictEqual(typeof plugin, 'function', 'plugin is a function');
});
QUnit.test('registers itself with video.js', function(assert) {
assert.expect(1);
assert.strictEqual(
typeof videojs.getComponent('Player').prototype.playlist,
'function',
'videojs-playlist plugin was registered'
);
});