mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-04 10:19:24 +02:00
Also check the lang in case insensitive
This commit is contained in:
parent
33e7f7384e
commit
2a9630258f
22658 changed files with 3562773 additions and 3562767 deletions
42
node_modules/mpd-parser/test/parseAttributes.test.js
generated
vendored
42
node_modules/mpd-parser/test/parseAttributes.test.js
generated
vendored
|
@ -1,21 +1,21 @@
|
|||
import {JSDOM} from 'jsdom';
|
||||
import QUnit from 'qunit';
|
||||
import { parseAttributes } from '../src/parseAttributes';
|
||||
|
||||
const document = new JSDOM().window.document;
|
||||
|
||||
QUnit.module('parseAttributes');
|
||||
|
||||
QUnit.test('simple', function(assert) {
|
||||
const el = document.createElement('el');
|
||||
|
||||
el.setAttribute('foo', 1);
|
||||
|
||||
assert.deepEqual(parseAttributes(el), { foo: '1' });
|
||||
});
|
||||
|
||||
QUnit.test('empty', function(assert) {
|
||||
const el = document.createElement('el');
|
||||
|
||||
assert.deepEqual(parseAttributes(el), {});
|
||||
});
|
||||
import {JSDOM} from 'jsdom';
|
||||
import QUnit from 'qunit';
|
||||
import { parseAttributes } from '../src/parseAttributes';
|
||||
|
||||
const document = new JSDOM().window.document;
|
||||
|
||||
QUnit.module('parseAttributes');
|
||||
|
||||
QUnit.test('simple', function(assert) {
|
||||
const el = document.createElement('el');
|
||||
|
||||
el.setAttribute('foo', 1);
|
||||
|
||||
assert.deepEqual(parseAttributes(el), { foo: '1' });
|
||||
});
|
||||
|
||||
QUnit.test('empty', function(assert) {
|
||||
const el = document.createElement('el');
|
||||
|
||||
assert.deepEqual(parseAttributes(el), {});
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue