26 linhas
478 B
JavaScript
26 linhas
478 B
JavaScript
// Karma configuration
|
|
|
|
module.exports = function(config) {
|
|
config.set({
|
|
basePath: '',
|
|
frameworks: ['mocha'],
|
|
files: [
|
|
'dist/synaptic.js',
|
|
'test/[^_]*.js'
|
|
],
|
|
exclude: [
|
|
],
|
|
preprocessors: {
|
|
'test/*.js': ['webpack'],
|
|
},
|
|
reporters: ['progress'],
|
|
port: 9876,
|
|
colors: true,
|
|
logLevel: config.LOG_INFO,
|
|
autoWatch: true,
|
|
singleRun: false,
|
|
concurrency: Infinity,
|
|
browserNoActivityTimeout: 60000,
|
|
})
|
|
}
|