Subversion Repositories SmartDukaan

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
14217 anikendra 1
// Karma configuration
2
// Generated on Sun Jun 30 2013 00:14:30 GMT-0700 (PDT)
3
 
4
 
5
// base path, that will be used to resolve files and exclude
6
basePath = '';
7
 
8
preprocessors = {
9
'src/**/*.js': 'coverage'
10
};
11
 
12
// list of files / patterns to load in the browser
13
files = [
14
  'bower_components/jquery/jquery.js',
15
  'src/common/utils.js',
16
  'src/bloodhound/version.js',
17
  'src/bloodhound/tokenizers.js',
18
  'src/bloodhound/lru_cache.js',
19
  'src/bloodhound/persistent_storage.js',
20
  'src/bloodhound/transport.js',
21
  'src/bloodhound/search_index.js',
22
  'src/bloodhound/options_parser.js',
23
  'src/bloodhound/bloodhound.js',
24
  'src/typeahead/html.js',
25
  'src/typeahead/css.js',
26
  'src/typeahead/event_bus.js',
27
  'src/typeahead/event_emitter.js',
28
  'src/typeahead/highlight.js',
29
  'src/typeahead/input.js',
30
  'src/typeahead/dataset.js',
31
  'src/typeahead/dropdown.js',
32
  'src/typeahead/typeahead.js',
33
  'src/typeahead/plugin.js',
34
  JASMINE,
35
  JASMINE_ADAPTER,
36
  'test/fixtures/**/*',
37
  'bower_components/jasmine-jquery/lib/jasmine-jquery.js',
38
  'bower_components/jasmine-ajax/lib/mock-ajax.js',
39
  'test/helpers/**/*',
40
  'test/*_spec.js'
41
];
42
 
43
 
44
// list of files to exclude
45
exclude = [
46
 
47
];
48
 
49
 
50
// test results reporter to use
51
// possible values: 'dots', 'progress', 'junit'
52
reporters = ['progress', 'coverage'];
53
 
54
 
55
// web server port
56
port = 9876;
57
 
58
 
59
// cli runner port
60
runnerPort = 9100;
61
 
62
// code coverage configs
63
coverageReporter = {
64
  type : 'html',
65
  dir : 'test/coverage/'
66
}
67
 
68
// enable / disable colors in the output (reporters and logs)
69
colors = true;
70
 
71
 
72
// level of logging
73
// possible values: LOG_DISABLE || LOG_ERROR || LOG_WARN || LOG_INFO || LOG_DEBUG
74
logLevel = LOG_INFO;
75
 
76
 
77
// enable / disable watching file and executing tests whenever any file changes
78
autoWatch = true;
79
 
80
 
81
// Start these browsers, currently available:
82
// - Chrome
83
// - ChromeCanary
84
// - Firefox
85
// - Opera
86
// - Safari (only Mac)
87
// - PhantomJS
88
// - IE (only Windows)
89
browsers = ['Chrome'];
90
 
91
 
92
// If browser does not capture in given timeout [ms], kill it
93
captureTimeout = 60000;
94
 
95
 
96
// Continuous Integration mode
97
// if true, it capture browsers, run tests and exit
98
singleRun = false;