-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathGruntfile.js
41 lines (37 loc) · 826 Bytes
/
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
module.exports = function(grunt) {
grunt.initConfig({
dalek: {
dist: {
src: ['test/*.js']
},
options: {
browser: ['phantomjs', 'chrome' ],
reporter: ['console', 'html', 'junit', 'json'],
// don't load config from an Dalekfile
dalekfile: false,
// specify advanced options (that else would be in your Dalekfile)
advanced: {/*
browsers: [{
firefox: {
binary: 'C:/Program Files (x86)/Mozilla Firefox/firefox.exe'
}
}],*/
'html-reporter': {
dest: 'reports/html'
},
'junit-reporter': {
dest: 'reports/junit'
},
'json-reporter': {
dest: 'reports/json/result.json'
}
}
}
}
});
/**
* Loads tasks located in the tasks directory.
*/
grunt.loadNpmTasks('grunt-dalek');
grunt.registerTask('default', ['dalek']);
};