forked from cloudinary/cloudinary_angular
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathkarma.conf.js
More file actions
58 lines (54 loc) · 1.32 KB
/
karma.conf.js
File metadata and controls
58 lines (54 loc) · 1.32 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
module.exports = function (config) {
return config.set({
basePath: '',
frameworks: ['jasmine'],
files: [
'node_modules/phantomjs-polyfill/bind-polyfill.js',
'bower_components/lodash/lodash.js',
'bower_components/angular/angular.js',
'bower_components/angular-mocks/angular-mocks.js',
'bower_components/cloudinary-core/cloudinary-core.js',
'js/angular.cloudinary.js',
'spec/cloudinary_spec.js',
{
pattern: "spec/*",
served: true,
included: false,
cached: false
},
{
pattern: "spec/*.js",
served: true,
included: false
},
{
pattern: "bower_components/**/*.css",
served: true,
included: false
},
{
pattern: "bower_components/**/*.js",
served: true,
included: false,
cached: false
}
],
preprocessors: {},
reporters: ['story'],
port: 9876,
colors: true,
logLevel: config.LOG_DEBUG,
autoWatch: false,
//browsers: ['Chrome', 'Firefox', 'Safari'],
browsers: ['PhantomJS', "Chrome"],
//browsers: ['Chrome'],
singleRun: true,
plugins: [
'karma-jasmine',
'karma-coverage',
'karma-story-reporter',
'karma-chrome-launcher',
'karma-phantomjs-launcher'
]
});
};