(cb)
| 30 | 'the returned promise': { |
| 31 | 'should be resolved with the 2nd arg to the callback': function() { |
| 32 | function async(cb) { |
| 33 | setTimeout(function() { |
| 34 | cb(null, sentinel); |
| 35 | }, 100); |
| 36 | } |
| 37 | |
| 38 | var promise = nodefn.apply(async); |
| 39 | return promise.then(function(value) { |
no test coverage detected
searching dependent graphs…