Sha256: 56ba75605523c69a3dd2b34de3bbd932233aa8c42d67f956958c53e5dee63f37

Contents?: true

Size: 1.87 KB

Versions: 15

Compression:

Stored size: 1.87 KB

Contents

// Karma configuration

module.exports = function(config) {
  config.set({
    // base path, that will be used to resolve files and exclude
    basePath:  '',

    // list of files / patterns to load in the browser
    files:  [

      // Test environment
      //MOCHA,            Switch to mocha when not testing ie
      //MOCHA_ADAPTER,
      JASMINE,
      JASMINE_ADAPTER,
      'components/cjohansen-sinon/sinon.js',

      // Test dependencies
      'build/test.js',

      // Test Source files
      'spec/spec_helper.js',
      'spec/**/*.js'
    ],


    // list of files to exclude
    exclude:  [
      'spec/coverage'
    ],

    // Custom frameworks
    frameworks:  ['jasmine'],


    // test results reporter to use
    // possible values: 'dots', 'progress', 'junit'
    reporters:  ['progress'], // , 'coverage'],


    // web server port
    port:  9876,


    // cli runner port
    runnerPort:  9100,


    // enable / disable colors in the output (reporters and logs)
    colors:  true,


    // level of logging
    // possible values: LOG_DISABLE || LOG_ERROR || LOG_WARN || LOG_INFO || LOG_DEBUG
    logLevel:  LOG_INFO,


    // enable / disable watching file and executing tests whenever any file changes
    autoWatch:  true,


    // Start these browsers, currently available:
    // - Chrome
    // - ChromeCanary
    // - Firefox
    // - Opera
    // - Safari (only Mac)
    // - PhantomJS
    // - IE (only Windows)
    browsers:  ['Chrome'],


    // If browser does not capture in given timeout [ms], kill it
    captureTimeout:  60000,


    // Continuous Integration mode
    // if true, it capture browsers, run tests and exit
    singleRun:  false,

    // Coverage preprocessors
    // preprocessors:  {
    //  '**/lib/*.js': 'coverage'
    // },

    // Converage configuration
    coverageReporter:  {
      type : 'html',
      dir  : 'spec/coverage'
    }
  });
}

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
ende-0.4.25 vendor/components/indefinido-observable/karma.conf.js
ende-0.4.24 vendor/components/indefinido-observable/karma.conf.js
ende-0.4.23 vendor/components/indefinido-observable/karma.conf.js
ende-0.4.22 vendor/components/indefinido-observable/karma.conf.js
ende-0.4.21 vendor/components/indefinido-observable/karma.conf.js
ende-0.4.15 vendor/components/indefinido-observable/karma.conf.js
ende-0.4.14 vendor/components/indefinido-observable/karma.conf.js
ende-0.4.13 vendor/components/indefinido-observable/karma.conf.js
ende-0.4.12 vendor/components/indefinido-observable/karma.conf.js
ende-0.4.11 vendor/components/indefinido-observable/karma.conf.js
ende-0.4.10 vendor/components/indefinido-observable/karma.conf.js
ende-0.4.9 vendor/components/indefinido-observable/karma.conf.js
ende-0.4.8 vendor/components/indefinido-observable/karma.conf.js
ende-0.4.7 vendor/components/indefinido-observable/karma.conf.js
ende-0.4.6 vendor/components/indefinido-observable/karma.conf.js