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

update components

This commit is contained in:
Luke Pulverenti 2016-05-28 13:34:07 -04:00
parent abf163fb4a
commit b385aa2d95
22 changed files with 368 additions and 90 deletions

View file

@ -103,6 +103,33 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
});
});
test('set large step', function(done) {
// PolymerElements/paper-slider#135
range.min = 0;
range.max = 2625;
range.step = 875;
range.value = 875;
flush(function() {
assert.equal(range.value, 875);
done();
});
});
test('set step with min', function(done) {
range.min = -0.9;
range.max = 1.1;
range.step = 0.5;
range.value = -0.5;
flush(function() {
assert.equal(range.value, -0.4);
range.value = 0.7;
flush(function() {
assert.equal(range.value, 0.6);
done();
});
});
});
test('odd values', function(done) {
range.min = 1;
range.max = 7;