Merge "Add qtip job to pod zte-virtual6"
[releng.git] / utils / test / reporting / pages / test / karma.conf.js
1 // Karma configuration
2 // Generated on 2016-12-19
3
4 module.exports = function(config) {
5   'use strict';
6
7   config.set({
8     // enable / disable watching file and executing tests whenever any file changes
9     autoWatch: true,
10
11     // base path, that will be used to resolve files and exclude
12     basePath: '../',
13
14     // testing framework to use (jasmine/mocha/qunit/...)
15     // as well as any additional frameworks (requirejs/chai/sinon/...)
16     frameworks: [
17       'jasmine'
18     ],
19
20     // list of files / patterns to load in the browser
21     files: [
22       // bower:js
23       'bower_components/jquery/dist/jquery.js',
24       'bower_components/angular/angular.js',
25       'bower_components/bootstrap/dist/js/bootstrap.js',
26       'bower_components/angular-animate/angular-animate.js',
27       'bower_components/jquery-slimscroll/jquery.slimscroll.js',
28       'bower_components/jquery-slimscroll/jquery.slimscroll.min.js',
29       'bower_components/metisMenu/dist/metisMenu.js',
30       'bower_components/chosen/chosen.jquery.js',
31       'bower_components/oclazyload/dist/ocLazyLoad.js',
32       'bower_components/angular-bootstrap/ui-bootstrap-tpls.js',
33       'bower_components/angular-ui-router/release/angular-ui-router.js',
34       'bower_components/angular-resource/angular-resource.js',
35       'bower_components/sifter/sifter.js',
36       'bower_components/microplugin/src/microplugin.js',
37       'bower_components/selectize/dist/js/selectize.js',
38       'bower_components/angular-selectize2/dist/angular-selectize.js',
39       'bower_components/angular-tooltips/dist/angular-tooltips.min.js',
40       'bower_components/angular-mocks/angular-mocks.js',
41       // endbower
42       'app/scripts/**/*.js',
43       'test/mock/**/*.js',
44       'test/spec/**/*.js'
45     ],
46
47     // list of files / patterns to exclude
48     exclude: [
49     ],
50
51     // web server port
52     port: 8080,
53
54     // Start these browsers, currently available:
55     // - Chrome
56     // - ChromeCanary
57     // - Firefox
58     // - Opera
59     // - Safari (only Mac)
60     // - PhantomJS
61     // - IE (only Windows)
62     browsers: [
63       'PhantomJS'
64     ],
65
66     // Which plugins to enable
67     plugins: [
68       'karma-phantomjs-launcher',
69       'karma-jasmine'
70     ],
71
72     // Continuous Integration mode
73     // if true, it capture browsers, run tests and exit
74     singleRun: false,
75
76     colors: true,
77
78     // level of logging
79     // possible values: LOG_DISABLE || LOG_ERROR || LOG_WARN || LOG_INFO || LOG_DEBUG
80     logLevel: config.LOG_INFO,
81
82     // Uncomment the following lines if you are using grunt's server to run the tests
83     // proxies: {
84     //   '/': 'http://localhost:9000/'
85     // },
86     // URL root prevent conflicts with the site root
87     // urlRoot: '_karma_'
88   });
89 };