diff options
| author | Julie | 2014-01-07 11:51:32 -0800 | 
|---|---|---|
| committer | Jeff Cross | 2014-01-09 17:21:46 -0800 | 
| commit | 2ed4ad55022f6e5519617a3797649fe1e68f3734 (patch) | |
| tree | 0e7672b6e47701f076d6247202263e043a616b02 /lib/grunt/plugins.js | |
| parent | 1d2a388830d95ae1a1f9b577fd0891a2e1f31bcd (diff) | |
| download | angular.js-2ed4ad55022f6e5519617a3797649fe1e68f3734.tar.bz2 | |
feat(build): add a grunt test for running protractor tests extracted from the docs
Diffstat (limited to 'lib/grunt/plugins.js')
| -rw-r--r-- | lib/grunt/plugins.js | 8 | 
1 files changed, 8 insertions, 0 deletions
| diff --git a/lib/grunt/plugins.js b/lib/grunt/plugins.js index 363b8698..a269cf82 100644 --- a/lib/grunt/plugins.js +++ b/lib/grunt/plugins.js @@ -61,6 +61,14 @@ module.exports = function(grunt) {      util.startKarma.call(util, this.data, false, this.async());    }); +  grunt.registerTask('webdriver', 'Update webdriver', function() { +    util.updateWebdriver.call(util, this.async()); +  }); + +  grunt.registerMultiTask('runprotractor', 'Run Protractor integration tests', function() { +    util.startProtractor.call(util, this.data, this.async()); +  }); +    grunt.registerTask('collect-errors', 'Combine stripped error files', function () {      util.collectErrors();    }); | 
