-
Notifications
You must be signed in to change notification settings - Fork 230
/
karma.conf.js
52 lines (46 loc) · 1.4 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
module.exports = function(config) {
config.set({
basePath: '',
preprocessors: {
'src/**/*.js': 'coverage'
},
reporters: ['progress', 'coverage'],
browsers: ['Chrome'],
frameworks: ['jasmine'],
coverageReporter: {
type: 'html',
dir: 'test/coverage/'
},
files: [
'bower_components/jquery/dist/jquery.js',
'./node_modules/phantomjs-polyfill/bind-polyfill.js',
'src/common/utils.js',
'src/bloodhound/version.js',
'src/bloodhound/tokenizers.js',
'src/bloodhound/lru_cache.js',
'src/bloodhound/persistent_storage.js',
'src/bloodhound/transport.js',
'src/bloodhound/remote.js',
'src/bloodhound/prefetch.js',
'src/bloodhound/search_index.js',
'src/bloodhound/options_parser.js',
'src/bloodhound/bloodhound.js',
'src/typeahead/www.js',
'src/typeahead/event_bus.js',
'src/typeahead/event_emitter.js',
'src/typeahead/highlight.js',
'src/typeahead/input.js',
'src/typeahead/dataset.js',
'src/typeahead/menu.js',
'src/typeahead/status.js',
'src/typeahead/default_menu.js',
'src/typeahead/typeahead.js',
'src/typeahead/plugin.js',
'test/fixtures/**/*',
'bower_components/jasmine-jquery/lib/jasmine-jquery.js',
'bower_components/jasmine-ajax/lib/mock-ajax.js',
'test/helpers/**/*',
'test/**/*_spec.js'
]
});
};