mirror of
https://github.com/xdan/datetimepicker.git
synced 2024-12-08 05:34:22 +00:00
30 lines
851 B
JavaScript
30 lines
851 B
JavaScript
module.exports = function(config) {
|
|
config.set({
|
|
basePath: '',
|
|
frameworks: ['mocha', 'chai'],
|
|
files: [
|
|
'jquery.datetimepicker.css',
|
|
'node_modules/php-date-formatter/js/php-date-formatter.js',
|
|
'jquery.js',
|
|
'jquery.datetimepicker.js',
|
|
'tests/bootstrap.js',
|
|
'tests/tests/*.js'
|
|
],
|
|
reporters: ['progress'],
|
|
port: 9876,
|
|
colors: true,
|
|
logLevel: config.LOG_INFO,
|
|
browsers: ['Firefox'],
|
|
autoWatch: true,
|
|
singleRun: false, // Karma captures browsers, runs the tests and exits
|
|
concurrency: Infinity,
|
|
plugins: [
|
|
'karma-firefox-launcher',
|
|
'karma-mocha',
|
|
'karma-chai'
|
|
],
|
|
client: {
|
|
captureConsole: true
|
|
}
|
|
})
|
|
}; |