1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

update video probing

This commit is contained in:
Luke Pulverenti 2015-09-23 00:00:30 -04:00
parent 8a32cc215f
commit b70aa4926c
25 changed files with 407 additions and 355 deletions

View file

@ -142,6 +142,29 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
assert.equal(selectedEventCounter, 0);
});
suite('items changing', function() {
test('cause iron-items-changed to fire', function(done) {
var newItem = document.createElement('div');
var changeCount = 0;
newItem.id = 'item999';
s2.addEventListener('iron-items-changed', function() {
changeCount++;
});
s2.appendChild(newItem);
Polymer.Base.async(function() {
s2.removeChild(newItem);
Polymer.Base.async(function() {
expect(changeCount).to.be.equal(2);
done();
}, 1);
}, 1);
});
});
});
</script>