github.com/ghodss/etcd@v0.3.1-0.20140417172404-cc329bfa55cb/mod/dashboard/karma-e2e.conf.js (about)

     1  // Karma configuration
     2  // http://karma-runner.github.io/0.10/config/configuration-file.html
     3  
     4  module.exports = function(config) {
     5    config.set({
     6      // base path, that will be used to resolve files and exclude
     7      basePath: '',
     8  
     9      // testing framework to use (jasmine/mocha/qunit/...)
    10      frameworks: ['ng-scenario'],
    11  
    12      // list of files / patterns to load in the browser
    13      files: [
    14        'test/e2e/**/*.js'
    15      ],
    16  
    17      // list of files / patterns to exclude
    18      exclude: [],
    19  
    20      // web server port
    21      port: 8080,
    22  
    23      // level of logging
    24      // possible values: LOG_DISABLE || LOG_ERROR || LOG_WARN || LOG_INFO || LOG_DEBUG
    25      logLevel: config.LOG_INFO,
    26  
    27  
    28      // enable / disable watching file and executing tests whenever any file changes
    29      autoWatch: false,
    30  
    31  
    32      // Start these browsers, currently available:
    33      // - Chrome
    34      // - ChromeCanary
    35      // - Firefox
    36      // - Opera
    37      // - Safari (only Mac)
    38      // - PhantomJS
    39      // - IE (only Windows)
    40      browsers: ['Chrome'],
    41  
    42  
    43      // Continuous Integration mode
    44      // if true, it capture browsers, run tests and exit
    45      singleRun: false
    46  
    47      // Uncomment the following lines if you are using grunt's server to run the tests
    48      // proxies: {
    49      //   '/': 'http://localhost:9000/'
    50      // },
    51      // URL root prevent conflicts with the site root
    52      // urlRoot: '_karma_'
    53    });
    54  };