-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathkarma.conf.js
82 lines (81 loc) · 1.92 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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
module.exports = function(config) {
config.set({
basePath: '',
frameworks: ['jasmine'],
files: [
"lib/jquery-2.0.1.min.js",
'spec/support/jasmine-jquery.js',
'spec/support/jasmine-ajax.js',
'spec/support/mocking.js',
'spec/support/custom_matcher.js',
'spec/spec_helper.js',
"lib/jquery.extend.js",
"lib/utility.js",
"lib/dom.js",
"lib/jp.js",
"lib/element_wrapper.js",
"js/constants.js",
"js/default_option.js",
"js/options.js",
"js/key/identifiers.js",
"js/key/sequence.js",
"js/key/map.js",
"js/viewport.js",
"js/box/select.js",
"js/box/command.js",
"js/box/help.js",
"js/hint/action.js",
"js/hint/action_map.js",
"js/hint/letter_conversion.js",
"js/hint/algorithm/standard.js",
"js/hint/algorithm/comfortable.js",
"js/hint/key_factory.js",
"js/hint/element.js",
"js/hint/element_collection.js",
"js/processor/noop.js",
"js/processor/visual.js",
"js/processor/command.js",
"js/processor/hint.js",
"js/processor/insert.js",
"js/processor/help.js",
"js/filter.js",
"js/executer.js",
"js/command.js",
"js/homedics.js",
"js/mode.js",
"js/main.js",
"spec/js/**/*.js",
"spec/lib/**/*.js",
{
pattern: 'spec/fixtures/**/*.html',
watched: true,
included: false,
served: true
},
{
pattern: 'dicts/*.ml',
watched: false,
included: false,
served: true
}
],
exclude: [ ],
preprocessors: {
'js/**/*.js': [ 'coverage' ]
},
reporters: [
'progress',
'coverage'
],
coverageReporter: {
type: 'html',
dir : 'coverage/'
},
port: 9876,
colors: true,
logLevel: config.LOG_INFO,
autoWatch: true,
browsers: ['PhantomJS'],
singleRun: true
});
};