forked from hatchteam/twigs
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathkarma.conf.js
More file actions
executable file
·62 lines (43 loc) · 1.41 KB
/
karma.conf.js
File metadata and controls
executable file
·62 lines (43 loc) · 1.41 KB
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
// Karma configuration
// Generated on Wed Mar 05 2014 09:38:26 GMT+0100 (W. Europe Standard Time)
module.exports = function (config) {
config.set({
// base path, that will be used to resolve files and exclude
basePath: '',
// frameworks to use
frameworks: ['jasmine'],
// list of files / patterns to load in the browser
files: [
'components/jquery/jquery.min.js' ,
'components/angular/angular.js',
'components/angular-cookies/angular-cookies.js',
'components/angular-mocks/angular-mocks.js',
'components/angular-bootstrap/ui-bootstrap.min.js',
'components/angular-route/angular-route.js',
'components/select2/select2.js',
'components/angular-ui-select2/src/select2.js',
'src/*.js',
'src/*.js',
'.tmp/templates.js',
'test/spec/**/*.js'
],
// list of files to exclude
exclude: [
],
preprocessors: {
'src/*.js': 'coverage'
},
reporters: ['progress', 'coverage'],
coverageReporter: {
type: 'html',
dir: 'coverage/'
},
port: 9876,
colors: true,
logLevel: config.LOG_INFO,
autoWatch: false,
browsers: ['PhantomJS'],
captureTimeout: 60000,
singleRun: false
});
};