Skip to content

Commit

Permalink
Fixed Tasks tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
alexanderby committed Mar 20, 2017
1 parent 0aae35a commit 4c8a6eb
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions test/task-runner.test.js
Expand Up @@ -12,7 +12,7 @@ define(function (require) {
},
callbacks: {
done: (result) => {
expect(result.f).to.equal(10);
expect(result.e).to.equal(9);
}
}
});
Expand Down Expand Up @@ -58,7 +58,7 @@ define(function (require) {
t.run();
},
done: (result) => {
expect(result.f).to.equal(10);
expect(result.e).to.equal(9);
done();
}
}
Expand All @@ -73,9 +73,6 @@ define(function (require) {
.addTask((x, t) => {
t.stop();
setTimeout(() => t.run(), 0);
return {
d: ++x.c
};
t.addTask((x) => {
return {
e: ++x.d
Expand Down

0 comments on commit 4c8a6eb

Please sign in to comment.