Skip to content

Commit

Permalink
making setTimeouts consistent
Browse files Browse the repository at this point in the history
  • Loading branch information
phillipskevin committed Jan 4, 2017
1 parent ad59079 commit 6e9979e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/component-map-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,12 @@ var runTasks = function(tasks){
var next = tasks.shift();
next();
if(tasks.length) {
setTimeout(nextTask, 10);
setTimeout(nextTask, 100);
} else {
start();
}
};
setTimeout(nextTask, 10);
setTimeout(nextTask, 100);
};

function makeTest(name, doc, mutObs) {
Expand Down Expand Up @@ -80,7 +80,7 @@ function makeTest(name, doc, mutObs) {
start();
DOCUMENT(DOC);
MUTATION_OBSERVER(MUT_OBS);
}, 1);
}, 100);


}
Expand Down Expand Up @@ -503,7 +503,7 @@ function makeTest(name, doc, mutObs) {
setTimeout(function () {
equal(innerHTML(tds[0]), "Brian", "td changed to brian");
start();
}, 10);
}, 100);

}
});
Expand Down

0 comments on commit 6e9979e

Please sign in to comment.