1 | module.exports = function(config) {
|
2 | config.set({
|
3 | frameworks: ['mocha', 'chai'],
|
4 | files: ['test/*.js', 'formdata.min.js'],
|
5 | reporters: ['progress'],
|
6 | port: 9876, // karma web server port
|
7 | colors: true,
|
8 | logLevel: config.LOG_INFO,
|
9 | browsers: ['ChromeHeadless'],
|
10 | autoWatch: false,
|
11 | // singleRun: false, // Karma captures browsers, runs the tests and exits
|
12 | concurrency: Infinity
|
13 | })
|
14 | }
|