forked from elasticnotorious/curates
-
Notifications
You must be signed in to change notification settings - Fork 0
/
karma.conf.js
55 lines (40 loc) · 1.1 KB
/
karma.conf.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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
module.exports = function(config) {
var hostname = process.env.WERCKER_PHANTOMJS_HOST || 'localhost';
var port = process.env.WERCKER_PHANTOMJS_PORT || 9100;
config.set({
basepath: '',
frameworks: ['jasmine', 'detectBrowsers'],
files: [
'client/lib/angular/angular.js',
'client/lib/angular-ui-router/release/angular-ui-router.js',
'client/lib/angular-mocks/angular-mocks.js',
'client/*.js',
'client/directives/**/*.js',
'client/modules/**/*.js',
'client/services/**/*.js',
'node_modules/expect.js/index.js'
],
exclude: [
'karma.conf.js'
],
reporters: ['mocha'],
hostname: hostname,
port: port,
colors: true,
logLevel: config.LOG_INFO,
autoWatch: false,
plugins: [
'karma-jasmine',
'karma-mocha-reporter',
'karma-chrome-launcher',
'karma-firefox-launcher',
'karma-ie-launcher',
'karma-safari-launcher',
'karma-opera-launcher',
'karma-phantomjs-launcher',
'karma-detect-browsers'
],
browsers: ['Chrome'],
singleRun: true
});
};