mirror of
https://github.com/pcottle/learnGitBranching.git
synced 2025-07-30 15:44:35 +02:00
big commands refactor in prep for hackathon
This commit is contained in:
parent
5ec8a2916f
commit
e422bdb181
11 changed files with 1071 additions and 1077 deletions
|
@ -19,14 +19,15 @@ var expectTreeAsync = function(headless, levelBlob) {
|
|||
// dont do interactive rebase levels
|
||||
return;
|
||||
}
|
||||
var start = Date.now();
|
||||
|
||||
var start;
|
||||
runs(function() {
|
||||
start = Date.now();
|
||||
headless.sendCommand(command);
|
||||
});
|
||||
waitsFor(function() {
|
||||
var diff = (Date.now() - start);
|
||||
if (diff > TIME - 50) {
|
||||
if (diff > TIME - 10) {
|
||||
console.log('not going to match', command);
|
||||
}
|
||||
var result = compareLevelTree(headless, levelBlob);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue