11// Testacular configuration file
2+ module . exports = function ( karma ) {
3+ karma . set ( {
4+ // base path, that will be used to resolve files and exclude
5+ basePath : '..' ,
26
3- // base path, that will be used to resolve files and exclude
4- basePath = '..' ;
7+ frameworks : [ 'jasmine' ] ,
58
6- // list of files / patterns to load in the browser
7- files = [
8- JASMINE ,
9- JASMINE_ADAPTER ,
10- 'lib/angular-1.1.5.js' ,
11- 'test/lib/angular-mocks-1.1.5.js' ,
12- 'test/testUtils.js' ,
9+ // list of files / patterns to load in the browser
10+ files : [
11+ 'lib/angular-1.1.5.js' ,
12+ 'test/lib/angular-mocks-1.1.5.js' ,
13+ 'test/testUtils.js' ,
1314
14- 'src/common.js' ,
15- 'src/resolve.js' ,
16- 'src/templateFactory.js' ,
17- 'src/urlMatcherFactory.js' ,
18- 'src/urlRouter.js' ,
19- 'src/view.js' ,
20- 'src/state.js' ,
21- 'src/viewDirective.js' ,
22- 'src/stateDirectives.js' ,
23- 'src/stateFilters.js' ,
24- 'src/compat.js' ,
15+ 'src/common.js' ,
16+ 'src/resolve.js' ,
17+ 'src/templateFactory.js' ,
18+ 'src/urlMatcherFactory.js' ,
19+ 'src/urlRouter.js' ,
20+ 'src/view.js' ,
21+ 'src/state.js' ,
22+ 'src/viewDirective.js' ,
23+ 'src/stateDirectives.js' ,
24+ 'src/stateFilters.js' ,
25+ 'src/compat.js' ,
2526
26- 'test/*Spec.js' ,
27- // 'test/compat/matchers.js',
28- // 'test/compat/*Spec.js',
29- ] ;
27+ 'test/*Spec.js' ,
28+ // 'test/compat/matchers.js',
29+ // 'test/compat/*Spec.js',
30+ ] ,
3031
31- // list of files to exclude
32- exclude = [ ] ;
32+ // list of files to exclude
33+ exclude : [ ] ,
3334
34- // use dots reporter, as travis terminal does not support escaping sequences
35- // possible values: 'dots' || 'progress'
36- reporter = 'dots' ;
35+ // use dots reporter, as travis terminal does not support escaping sequences
36+ // possible values: 'dots' || 'progress'
37+ reporters : 'dots' ,
3738
38- // these are default values, just to show available options
39+ // these are default values, just to show available options
3940
40- // web server port
41- port = 8080 ;
41+ // web server port
42+ port : 8080 ,
4243
43- // enable / disable colors in the output (reporters and logs)
44- colors = true ;
44+ // enable / disable colors in the output (reporters and logs)
45+ colors : true ,
4546
46- // level of logging
47- // possible values: LOG_DISABLE || LOG_ERROR || LOG_WARN || LOG_INFO || LOG_DEBUG
48- logLevel = LOG_DEBUG ;
47+ // level of logging
48+ // possible values: LOG_DISABLE || LOG_ERROR || LOG_WARN || LOG_INFO || LOG_DEBUG
49+ logLevel : karma . LOG_DEBUG ,
4950
50- // enable / disable watching file and executing tests whenever any file changes
51- autoWatch = false ;
51+ // enable / disable watching file and executing tests whenever any file changes
52+ autoWatch : false ,
5253
53- // polling interval in ms (ignored on OS that support inotify)
54- autoWatchInterval = 0 ;
55-
56- // Start these browsers, currently available:
57- // - Chrome
58- // - ChromeCanary
59- // - Firefox
60- // - Opera
61- // - Safari
62- // - PhantomJS
63- browsers = [ 'PhantomJS' ] ;
54+ // polling interval in ms (ignored on OS that support inotify)
55+ autoWatchInterval : 0 ,
6456
57+ // Start these browsers, currently available:
58+ // - Chrome
59+ // - ChromeCanary
60+ // - Firefox
61+ // - Opera
62+ // - Safari
63+ // - PhantomJS
64+ browsers : [ 'PhantomJS' ]
65+ } )
66+ } ;
0 commit comments