2014-05-17 00:48:05 +03:00
|
|
|
module.exports = function(config) {
|
|
|
|
config.set({
|
|
|
|
frameworks: ['qunit'],
|
|
|
|
|
|
|
|
autoWatch: false,
|
|
|
|
|
|
|
|
singleRun: true,
|
|
|
|
|
|
|
|
files: [
|
2014-10-16 22:59:41 +03:00
|
|
|
'../build/files/video-js.min.css',
|
2014-05-17 00:48:05 +03:00
|
|
|
'../test/karma-qunit-shim.js',
|
|
|
|
'../node_modules/sinon/pkg/sinon.js',
|
|
|
|
'../build/files/test.minified.video.js'
|
|
|
|
],
|
|
|
|
|
|
|
|
plugins: [
|
|
|
|
'karma-qunit',
|
|
|
|
'karma-chrome-launcher',
|
|
|
|
'karma-firefox-launcher',
|
|
|
|
'karma-ie-launcher',
|
|
|
|
'karma-opera-launcher',
|
|
|
|
'karma-phantomjs-launcher',
|
|
|
|
'karma-safari-launcher'
|
|
|
|
],
|
|
|
|
|
|
|
|
// test results reporter to use
|
|
|
|
// possible values: 'dots', 'progress', 'junit'
|
|
|
|
reporters: ['dots'],
|
|
|
|
|
|
|
|
// 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: config.LOG_DISABLE || config.LOG_ERROR || config.LOG_WARN || config.LOG_INFO || config.LOG_DEBUG
|
|
|
|
logLevel: config.LOG_INFO,
|
|
|
|
|
|
|
|
// If browser does not capture in given timeout [ms], kill it
|
|
|
|
captureTimeout: 60000
|
|
|
|
});
|
|
|
|
};
|