Sha256: c8582a1be8621edc6713e810d5366950be8c73fe2b9eaeef6629e1d2c60565c4

Contents?: true

Size: 1.72 KB

Versions: 28

Compression:

Stored size: 1.72 KB

Contents

// Karma configuration

module.exports = function(config) {
  config.set({

    // base path, that will be used to resolve files and exclude
    basePath: '',


    // frameworks to use
    frameworks: ['mocha'],


    // list of files / patterns to load in the browser
    files: [
        'vendor/sinon.js',
        'build/test.js',
        'spec/support/**/*.js',
        'spec/spec_helper.js',
        'spec/**/*.js'
    ],

    // list of files to excudle
    exclude: [
      'spec/coverage/**/*.js'
    ],

    client: {
        mocha: {
            ui: 'bdd'
        }
    },


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


    // web server port
    port: 9876,


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


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


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


    // Start these browsers, currently available:
    // - Chrome
    // - ChromeCanary
    // - Firefox
    // - Opera (has to be installed with `npm install karma-opera-launcher`)
    // - Safari (only Mac; has to be installed with `npm install karma-safari-launcher`)
    // - PhantomJS
    // - IE (only Windows; has to be installed with `npm install karma-ie-launcher`)
    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
  });
};

Version data entries

28 entries across 28 versions & 1 rubygems

Version Path
ende-0.4.25 vendor/components/indefinido-indemma/karma.conf.js
ende-0.4.24 vendor/components/indefinido-indemma/karma.conf.js
ende-0.4.23 vendor/components/indefinido-indemma/karma.conf.js
ende-0.5.1 components/indefinido/indemma/master/karma.conf.js
ende-0.4.22 vendor/components/indefinido-indemma/karma.conf.js
ende-0.4.21 vendor/components/indefinido-indemma/karma.conf.js
ende-0.5.0 vendor/components/indefinido-indemma/karma.conf.js
ende-0.4.20 vendor/components/indefinido-indemma/karma.conf.js
ende-0.4.19 vendor/components/indefinido-indemma/karma.conf.js
ende-0.4.18 vendor/components/indefinido-indemma/karma.conf.js
ende-0.4.17 vendor/components/indefinido-indemma/karma.conf.js
ende-0.4.16 vendor/components/indefinido-indemma/karma.conf.js
ende-0.4.15 vendor/components/indefinido-indemma/karma.conf.js
ende-0.4.14 vendor/components/indefinido-indemma/karma.conf.js
ende-0.4.13 vendor/components/indefinido-indemma/karma.conf.js
ende-0.4.12 vendor/components/indefinido-indemma/karma.conf.js
ende-0.4.11 vendor/components/indefinido-indemma/karma.conf.js
ende-0.4.10 vendor/components/indefinido-indemma/karma.conf.js
ende-0.4.9 vendor/components/indefinido-indemma/karma.conf.js
ende-0.4.8 vendor/components/indefinido-indemma/karma.conf.js