(cmd, done, cb)
| 53 | }); |
| 54 | |
| 55 | var exec = function(cmd, done, cb) { |
| 56 | vantage.exec(cmd).then(function(data){ |
| 57 | cb(void 0, data); |
| 58 | }).catch(function(err){ |
| 59 | console.log(err); |
| 60 | done(err); |
| 61 | }); |
| 62 | }; |
| 63 | |
| 64 | it("should accept a vantage connection with a callback", function(done) { |
| 65 | vantage |