diff options
author | Bernhard Posselt <dev@bernhard-posselt.com> | 2014-05-15 13:55:31 +0200 |
---|---|---|
committer | Bernhard Posselt <dev@bernhard-posselt.com> | 2014-05-15 13:55:31 +0200 |
commit | 9d3de6d0959e73096ce0fa0ad9f6f7c702b0e0a8 (patch) | |
tree | 9720afa2538af7b732198405e681eaa3269520a1 /js/Gruntfile.js | |
parent | 3bd4247065e808d54089cf7eebb9be5588742265 (diff) |
serve an example rss file for testing
Diffstat (limited to 'js/Gruntfile.js')
-rw-r--r-- | js/Gruntfile.js | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/js/Gruntfile.js b/js/Gruntfile.js index 8f3022649..b5e13b074 100644 --- a/js/Gruntfile.js +++ b/js/Gruntfile.js @@ -13,6 +13,7 @@ module.exports = function(grunt) { // load needed modules grunt.loadNpmTasks('grunt-contrib-concat'); grunt.loadNpmTasks('grunt-contrib-watch'); + grunt.loadNpmTasks('grunt-contrib-connect'); grunt.loadNpmTasks('grunt-jslint'); grunt.loadNpmTasks('grunt-phpunit'); grunt.loadNpmTasks('grunt-wrap'); @@ -145,6 +146,13 @@ module.exports = function(grunt) { configFile: 'config/protractor.js' } } + }, + connect: { + server: { + options: { + base: 'tests/static/' + } + } } }); @@ -152,6 +160,6 @@ module.exports = function(grunt) { grunt.registerTask('default', ['jslint', 'concat', 'ngmin', 'wrap']); grunt.registerTask('test', ['karma:unit']); grunt.registerTask('ci', ['default', 'karma:continuous']); - grunt.registerTask('e2e', ['protractor_webdriver', 'protractor']); + grunt.registerTask('e2e', ['protractor_webdriver', 'connect', 'protractor']); };
\ No newline at end of file |