mirror of
https://github.com/pcottle/learnGitBranching.git
synced 2025-08-29 14:28:37 +02:00
9
This commit is contained in:
parent
a0718e53f7
commit
1f440b01d5
1 changed files with 2 additions and 2 deletions
|
@ -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++; }
|
||||||
});
|
});
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue