This commit is contained in:
Piotr.Bialas 2023-09-11 11:45:41 +02:00
parent a0718e53f7
commit 1f440b01d5

View file

@ -5,7 +5,7 @@ var Q = require('q');
describe('Promise animation', function() { describe('Promise animation', function() {
it('Will execute the closure', function() { it('Will execute the closure', function() {
var value = 1; var value = 9;
var closure = function() { var closure = function() {
value++; value++;
}; };
@ -19,7 +19,7 @@ describe('Promise animation', function() {
}); });
it('also takes animation packs', function() { it('also takes animation packs', function() {
var value = 9; var value = 0;
var animation = new PromiseAnimation({ var animation = new PromiseAnimation({
animation: function() { value++; } animation: function() { value++; }
}); });