(cmd, done, cb)
| 101 | }); |
| 102 | |
| 103 | var exec = function (cmd, done, cb) { |
| 104 | vorpal.exec(cmd).then(function (data) { |
| 105 | cb(undefined, data); |
| 106 | }).catch(function (err) { |
| 107 | console.log(err); |
| 108 | done(err); |
| 109 | }); |
| 110 | }; |
| 111 | |
| 112 | describe('promise execution', function () { |
| 113 | it('should not fail', function (done) { |
no outgoing calls
no test coverage detected
searching dependent graphs…