Skip to content

Commit be6e1a1

Browse files
committed
Merge pull request #248 from dstockwell/newidle
Remove double ticking
2 parents 084ad6e + 1939367 commit be6e1a1

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

test/js/group-constructors.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ suite('group-constructors', function() {
1616
test('player getter for children in groups, and __internalPlayer, work as expected', function() {
1717
var p = document.timeline.play(simpleAnimationGroup());
1818
tick(0);
19-
tick(100);
2019
assert.equal(p.source.player, p);
2120
assert.equal(p._childPlayers[0].source.player, p);
2221
assert.equal(p._childPlayers[1].source.player, p);

test/js/player.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,11 @@ suite('player', function() {
3838
assert.equal(p.currentTime, null);
3939
tick(700);
4040
p.play();
41-
tick(700);
41+
tick(701);
4242
assert.equal(p.currentTime, 1000);
4343
tick(800);
44-
assert.equal(p.currentTime, 1100);
45-
assert.equal(p.startTime, -300);
44+
assert.equal(p.currentTime, 1099);
45+
assert.equal(p.startTime, -299);
4646
});
4747
test('pausing works as expected', function() {
4848
tick(190);

0 commit comments

Comments
 (0)