usually, '10 === finished' would be considered yoda but in this case, with this naming of variables it makes a lot more sense this way
@@ -311,8 +311,7 @@ describe("Crafatar", function() {
var finished = 0;
function partDone() {
finished++;
- if (finished === requests) {
- // all requests have finished
+ if (requests === finished) {
done();
}