blob: 3ed4181136d9ea4123bb01aca206bcabef2f11b8 [file] [log] [blame]
var cordova = require('../cordova');
describe('help command', function() {
it('should emit a results event with help contents', function(done) {
this.after(function() {
cordova.removeAllListeners('results');
});
cordova.on('results', function(h) {
expect(h).toMatch(/synopsis/gi);
done();
});
cordova.help();
});
});