mirror of
https://github.com/pcottle/learnGitBranching.git
synced 2025-06-30 01:34:26 +02:00
working on headless, some tests fail because promise does not resolve or execute
This commit is contained in:
parent
d0e206bcc4
commit
89377b2956
4 changed files with 105 additions and 59 deletions
|
@ -23,6 +23,12 @@ function getMockFactory() {
|
|||
return Q.defer().promise;
|
||||
};
|
||||
}
|
||||
// special method that does stuff
|
||||
mockFactory.playRefreshAnimationAndFinish = function(gitVisuals, aQueue) {
|
||||
console.log('trying to finish');
|
||||
aQueue.thenFinish(Q.defer().promise);
|
||||
};
|
||||
|
||||
return mockFactory;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue