Skip to content
Snippets Groups Projects
Select Git revision
  • 41f3441cedb8b399c53ebfe56433b36eee75d64d
  • mui5-annotation-on-video-stable default
  • get_setter_canvasSizeInformations
  • fix-error-div-into-p
  • annotation-on-video-v2
  • detached
  • annotation-on-video-r17
  • mui5
  • mui5-react-18
  • jacob-test
  • annotation-on-video protected
  • master
  • test-antoinev1
  • 20-fetch-thumbnail-on-annotation
  • add-research-field
  • Save
  • add-plugin
  • 14-wip-no-seek-to
  • 14-bug-on-video-time-control
  • 9_wip_videotests
  • _upgrade_material_ui
  • latest-tetras-16
  • v3.3.0
  • v3.2.0
  • v3.1.1
  • v3.1.0
  • v3.0.0
  • v3.0.0-rc.7
  • v3.0.0-rc.6
  • v3.0.0-rc.5
  • v3.0.0-rc.4
  • v3.0.0-rc.3
  • v3.0.0-rc.2
  • v3.0.0-rc.1
  • v3.0.0-beta.10
  • v3.0.0-beta.9
  • v3.0.0-beta.8
  • v3.0.0-beta.7
  • v3.0.0-beta.6
  • v3.0.0-beta.5
  • v3.0.0-beta.3
41 results

karma.conf.js

Blame
  • karma.conf.js 2.53 KiB
    // Karma configuration
    // Generated on Tue May 03 2016 11:44:23 GMT-0400 (EDT)
    
    module.exports = function(config) {
      config.set({
    
        // base path that will be used to resolve all patterns (eg. files, exclude)
        basePath: '',
    
        // frameworks to use
        // available frameworks: https://npmjs.org/browse/keyword/karma-adapter
        frameworks: ['jasmine'],
    
    
        // list of files / patterns to load in the browser
        files: [
          // vendors
          'js/lib/jquery.min.js',
          'js/lib/jquery-ui.min.js',
          'js/lib/jquery.scrollTo.min.js',
          'js/lib/jquery.qtip.min.js',
          'js/lib/state-machine.min.js',
          'js/lib/tinymce.min.js',
          'js/lib/handlebars.js',
          'js/lib/openseadragon.min.js',
          'js/lib/d3.v3.min.js',
          'js/lib/pubsub.min.js',
          'js/lib/URI.min.js',
          'js/lib/mousetrap.min.js',
          'js/lib/isfahan.js',
          'js/lib/paper-full.min.js',
          'js/lib/spectrum.js',
          'js/lib/jquery.awesome-cursor.js',
          'js/lib/i18next.min.js',
          'bower_components/sinon-server/index.js',
          'bower_components/jasmine-jquery/lib/jasmine-jquery.js',
          // app
          'js/src/*.js',
          'js/src/viewer/*.js',
          'js/src/manifests/*.js',
          'js/src/annotations/*.js',
          'js/src/workspaces/*.js',
          'js/src/widgets/*.js',
          'js/src/utils/*.js',
          // spec
          'spec/**/*.js',
          {pattern: 'spec/data/manifest.json', watched: true, served: true, included: false},
        ],
    
    
        // list of files to exclude
        exclude: [
          'spec/mirador.test.js'
        ],
    
    
        // preprocess matching files before serving them to the browser
        // available preprocessors: https://npmjs.org/browse/keyword/karma-preprocessor
        preprocessors: {
        },
    
    
        // test results reporter to use
        // possible values: 'dots', 'progress'
        // available reporters: https://npmjs.org/browse/keyword/karma-reporter
        reporters: ['spec'],
    
    
        // 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: false,
    
    
        // start these browsers
        // available browser launchers: https://npmjs.org/browse/keyword/karma-launcher
        browsers: ['PhantomJS'],
    
    
        // Continuous Integration mode
        // if true, Karma captures browsers, runs the tests and exits
        singleRun: true
      })
    }