forked from atecarlos/protractor-http-mock
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Gruntfile.js
41 lines (38 loc) · 1.03 KB
/
Gruntfile.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
'use strict';
module.exports = function(grunt) {
grunt.initConfig({
jshint: {
options: {
jshintrc: '.jshintrc',
},
files: ['lib/**/*.js']
},
jasmine_node: {
options: {
forceExit: true,
specNameMatcher: '.specs',
},
all: ['specs/']
},
connect: {
example: {
options: {
base: 'example'
}
}
},
protractor: {
options: {
configFile: 'example/protractor.conf',
//debug: true
},
example: {}
}
});
grunt.loadNpmTasks('grunt-contrib-jshint');
grunt.loadNpmTasks('grunt-jasmine-node');
grunt.loadNpmTasks('grunt-contrib-connect');
grunt.loadNpmTasks('grunt-protractor-runner');
grunt.registerTask('example', ['connect:example', 'protractor:example']);
grunt.registerTask('test', ['jasmine_node']);
};