Skip to content

Commit

Permalink
Merge pull request #9 from harangue/patch-1
Browse files Browse the repository at this point in the history
Think I fixed the race condition
  • Loading branch information
Jack Guy committed May 11, 2016
2 parents 974dd6f + 6f5ff8d commit a599932
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions test/list.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -224,11 +224,13 @@ describe('reactive lists', () => {
setTimeout(() => {
service.create({
text: 'B test message'
}).then(() =>
service.patch(0, {
text: 'Updated test message'
})
);
}).then(() => {
setTimeout(() => {
service.patch(0, {
text: 'Updated test message'
})
}, 20);
});
}, 20);
});

Expand Down

0 comments on commit a599932

Please sign in to comment.