Lines Matching refs:after

1190   QUnit.module('lodash.after');
1193 function after(n, times) {
1195 lodashStable.times(times, _.after(n, function() { count++; }));
1199 QUnit.test('should create a function that invokes `func` after `n` calls', function(assert) {
1202 assert.strictEqual(after(5, 5), 1, 'after(n) should invoke `func` after being called `n` times');
1203 assert.strictEqual(after(5, 4), 0, 'after(n) should not invoke `func` before being called `n` times');
1204 assert.strictEqual(after(0, 0), 0, 'after(0) should not invoke `func` immediately');
1205 assert.strictEqual(after(0, 1), 1, 'after(0) should invoke `func` when called once');
1211 assert.strictEqual(after(NaN, 1), 1);
1217 var after = _.after(1, function(assert) { return ++this.count; }),
1218 object = { 'after': after, 'count': 0 };
1220 object.after();
1221 assert.strictEqual(object.after(), 2);
1750 QUnit.test('should create a function that invokes `func` after `n` calls', function(assert) {
1754 assert.strictEqual(before(5, 6), 4, 'before(n) should not invoke `func` after being called `n - 1` times');
2342 QUnit.test('should get the original value after cycling through all case methods', function(assert) {
3895 QUnit.test('should provide additional arguments after reaching the target arity', function(assert) {
4054 QUnit.test('should provide additional arguments after reaching the target arity', function(assert) {
4409 QUnit.test('should queue a trailing call for subsequent debounced calls after `maxWait`', function(assert) {
20305 QUnit.test('should contain the same elements after a collection is shuffled', function(assert) {
23110 QUnit.test('`_.' + methodName + '` should reset `lastCalled` after cancelling', function(assert) {
26742 'after',