From 1f440b01d54dd006ea7513e66d8207e15bebf127 Mon Sep 17 00:00:00 2001 From: "Piotr.Bialas" Date: Mon, 11 Sep 2023 11:45:41 +0200 Subject: [PATCH] 9 --- __tests__/animation.spec.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/__tests__/animation.spec.js b/__tests__/animation.spec.js index e444e3b6..3a01ca97 100644 --- a/__tests__/animation.spec.js +++ b/__tests__/animation.spec.js @@ -5,7 +5,7 @@ var Q = require('q'); describe('Promise animation', function() { it('Will execute the closure', function() { - var value = 1; + var value = 9; var closure = function() { value++; }; @@ -19,7 +19,7 @@ describe('Promise animation', function() { }); it('also takes animation packs', function() { - var value = 9; + var value = 0; var animation = new PromiseAnimation({ animation: function() { value++; } });