-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathkarma.conf.js
More file actions
44 lines (32 loc) · 837 Bytes
/
karma.conf.js
File metadata and controls
44 lines (32 loc) · 837 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
40
41
42
43
44
"use strict";
module.exports = function(config) {
config.set({
basePath : './',
frameworks : [
"jasmine"
],
reporters: ['progress', 'dots', 'coverage', 'threshold'],
files : [
'test/divhide-libs.js',
'test/divhide-coverage.js',
'src/**/*JasmineSpec.js',
],
browsers : ['PhantomJS'],
autoWatch : true,
logLevel: "LOG_DEBUG",
singleRun: true,
coverageReporter: {
dir: 'test/',
reporters: [
{ type: 'text-summary' },
{ type: 'lcov', subdir: './' }
]
},
thresholdReporter: {
statements: 90,
branches: 90,
functions: 90,
lines: 90
}
});
};