Lines Matching refs:calls
60 var calls = 0,
70 calls += 1;
77 Assert.areSame(calls, 4, 'the callback should be called 4 times');
83 calls = 0;
86 calls += 1;
89 Assert.areSame(calls, 7, 'when the _proto_ argument is `true`, prototype properties should be iterated');
174 var calls = 0,
184 calls += 1;
190 if (calls === 3) { return 'truthy'; }
191 if (calls > 3) { Y.fail('truthy value did not stop iteration'); }
194 Assert.areSame(3, calls, 'callback should be called 3 times');
200 calls = 0;
203 calls += 1;
206 Assert.areSame(4, calls, 'prototype properties should not be iterated by default');
208 calls = 0;
211 calls += 1;
214 Assert.areSame(7, calls, 'prototype properties should be iterated when the _proto_ parameter is `true`');