2 // Generated on Mon Jul 08 2019 14:57:05 GMT-0400 (Eastern Daylight Time)
4 module.exports = function(config) {
7 // base path that will be used to resolve all patterns (eg. files, exclude)
12 // available frameworks: https://npmjs.org/browse/keyword/karma-adapter
13 frameworks: ['mocha', 'chai'],
16 // list of files / patterns to load in the browser
18 'https://code.jquery.com/jquery-3.4.1.min.js',
19 '../src/static/js/dashboard.js',
20 '../src/static/node_modules/mxgraph/javascript/mxClient.min.js',
25 // list of files / patterns to exclude
30 // preprocess matching files before serving them to the browser
31 // available preprocessors: https://npmjs.org/browse/keyword/karma-preprocessor
36 // test results reporter to use
37 // possible values: 'dots', 'progress'
38 // available reporters: https://npmjs.org/browse/keyword/karma-reporter
46 // enable / disable colors in the output (reporters and logs)
51 // possible values: config.LOG_DISABLE || config.LOG_ERROR || config.LOG_WARN || config.LOG_INFO || config.LOG_DEBUG
52 logLevel: config.LOG_ERROR,
55 // enable / disable watching file and executing tests whenever any file changes
59 // start these browsers
60 // available browser launchers: https://npmjs.org/browse/keyword/karma-launcher
61 browsers: ['ChromeHeadless', 'FirefoxHeadless'],
64 // Continuous Integration mode
65 // if true, Karma captures browsers, runs the tests and exits
69 // how many browser should be started simultaneous
70 concurrency: Infinity,
72 // Custom web browsers
80 // Use TDD instead of BDD for Mocha