Skip to content

Commit eaf0180

Browse files
committed
cleanup
1 parent 4fc4c7b commit eaf0180

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

test/js/animation-constructor.js

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -51,18 +51,16 @@ suite('animation-constructor', function() {
5151
var target = document.createElement('div');
5252
document.body.appendChild(target);
5353

54-
var steps = [{background: 'blue'}, {background: 'red'}];
54+
var keyframes = [{background: 'blue'}, {background: 'red'}];
5555

56-
var animation = new Animation(target, steps, 200);
56+
var animation = new Animation(target, keyframes, 200);
5757
assert.equal(animation.timing.duration, 200);
5858

59-
animation = new Animation(target, steps);
60-
console.log(animation.timing);
59+
animation = new Animation(target, keyframes);
6160
assert.isDefined(animation.timing);
6261

63-
animation = new Animation(target, steps, {duration: 200});
62+
animation = new Animation(target, keyframes, {duration: 200});
6463
var group = new AnimationGroup([animation]);
65-
console.log(group.timing);
6664
assert.equal(group.timing.duration, 'auto');
6765
});
6866
});

0 commit comments

Comments
 (0)