forked from paychex/context-manager
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathkarma.conf.js
More file actions
39 lines (28 loc) · 912 Bytes
/
karma.conf.js
File metadata and controls
39 lines (28 loc) · 912 Bytes
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
module.exports = function(config) {
'use strict';
config.set({
basePath: './',
browsers: ['PhantomJS'],
frameworks: ['jasmine', 'requirejs'],
files: [
'test/config.js',
{pattern: 'src/**/*.js', included: false, watched: true},
{pattern: 'test/**/*.js', included: false, watched: true},
{pattern: 'bower_components/**/*.js', included: false, watched: true}
],
autoWatch: true,
singleRun: false,
captureTimeout: 120000,
reporters: ['story', 'coverage'],
coverageReporter: {
reporters: [
{type: 'text-summary', dir: 'build/dev/coverage'},
{type: 'html', dir: 'build/dev/coverage'}
]
},
junitReporter: {
outputFile: 'build/dev/unit.xml',
suite: 'unit'
}
});
};