Skip to content
Snippets Groups Projects
Select Git revision
  • 304d22d46e0d2946a62b396300a2608a0a27793c
  • develop default
  • master
  • issue609_stub_nolink
  • hotfix/v2.9.3
  • issue608_journal_tristate
  • hotfix/v2.9.2
  • issue606_global_woes
  • issue299_add_subgroups
  • issue592_student_movement
  • issue606_globaldiscipline_bind
  • issue595_discipline_info
  • issue574_dash_norates
  • issue591_warn_global1c
  • issue593_1cexport_semester
  • issue327_admin_auth
  • issue590_issue_subject
  • issue589_tab_numbers
  • issue583_logaccount_formexport
  • issue584_block_formexport
  • issue527_exam_detached
  • v2.1.5
  • v2.0.3
  • v2.0.2
  • v2.0.1
  • v2.0.0
  • v1.1.2
  • v1.1.1
  • v1.1.0
  • v0.9.3
  • v0.9.1
  • v0.9.2
  • v1.03
  • v1.02
  • v1.01
  • v1.0
36 results

karma.conf.js

Blame
  • Forked from it-lab / grade
    Source project has a limited visibility.
    • Anton Bagliy's avatar
      0e698750
      ADD: undo and redo in rating table #21 · 0e698750
      Anton Bagliy authored and Anton Bagliy's avatar Anton Bagliy committed
      ADD: почти работающий Ctrl-Z в таблице баллов #21
      
      FIX: Запрет стандартной обработки Ctrl+Z, работающая отмена действий в таблице баллов семестра #21
      
      ADD: отмена изменения флагов неявки и автомата в таблице баллов #21
      
      ADD: Karma jasmine test runner;
      
      ADD: Undo/redo history initial commit #21
      
      REFACTOR: ActionHistory for editing rates #21;
      
      CHG: turn off Ctrl+Z on exam options temporarily #21
      0e698750
      History
      ADD: undo and redo in rating table #21
      Anton Bagliy authored and Anton Bagliy's avatar Anton Bagliy committed
      ADD: почти работающий Ctrl-Z в таблице баллов #21
      
      FIX: Запрет стандартной обработки Ctrl+Z, работающая отмена действий в таблице баллов семестра #21
      
      ADD: отмена изменения флагов неявки и автомата в таблице баллов #21
      
      ADD: Karma jasmine test runner;
      
      ADD: Undo/redo history initial commit #21
      
      REFACTOR: ActionHistory for editing rates #21;
      
      CHG: turn off Ctrl+Z on exam options temporarily #21
    karma.conf.js 1.77 KiB
    // Karma configuration
    // Generated on Mon Aug 06 2018 21:38:06 GMT+0300 (RTZ 2 (зима))
    
    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: [
            'media/js/libs/jquery-2.1.0.min.js',
            'media/js/test/*.js',
            'media/js/rateHistory.js',
        ],
    
    
        // list of files / patterns to exclude
        exclude: [
            'media/js/libs/*.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: ['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
        // available browser launchers: https://npmjs.org/browse/keyword/karma-launcher
        browsers: ['Chrome'],
    
    
        // Continuous Integration mode
        // if true, Karma captures browsers, runs the tests and exits
        singleRun: false,
    
        // Concurrency level
        // how many browser should be started simultaneous
        concurrency: Infinity
      })
    }