summaryrefslogtreecommitdiffstats
path: root/js/Gruntfile.js
diff options
context:
space:
mode:
authorBernhard Posselt <dev@bernhard-posselt.com>2014-05-15 05:36:41 +0200
committerBernhard Posselt <dev@bernhard-posselt.com>2014-05-15 05:36:41 +0200
commit83226fc3cb2baac6eaceee980ce6e241647ff1aa (patch)
tree662624b38922748732168eb0b07d764930f160eb /js/Gruntfile.js
parent1ab7ba56d852c6a2c082b92c004444b5fd88bc8c (diff)
add first protractor test
Diffstat (limited to 'js/Gruntfile.js')
-rw-r--r--js/Gruntfile.js7
1 files changed, 6 insertions, 1 deletions
diff --git a/js/Gruntfile.js b/js/Gruntfile.js
index 04a48a1c4..55d607a83 100644
--- a/js/Gruntfile.js
+++ b/js/Gruntfile.js
@@ -76,7 +76,11 @@ module.exports = function(grunt) {
],
directives: {
browser: true,
- predef: ['$', 'angular', 'app', 'OC']
+ predef: [
+ '$', 'angular', 'app', 'OC',
+ 'protractor', 'describe', 'beforeEach', 'module', 'it',
+ 'browser', 'expect', 'By'
+ ]
}
}
},
@@ -84,6 +88,7 @@ module.exports = function(grunt) {
all: [
'**/*.js',
'!config/karma.js',
+ '!config/protractor.js',
'!build/**/*',
'!coverage/**/*',
'!vendor/**/*',