1 |
|
2 |
|
3 | module.exports = function (config) {
|
4 | config.set({
|
5 | basePath: './..',
|
6 | frameworks: [ 'browserify', 'tap' ],
|
7 | preprocessors: {
|
8 | './test/**/*.js': [ 'browserify' ]
|
9 | },
|
10 | files: [
|
11 | './test/**/*.js'
|
12 | ],
|
13 | browserify: {
|
14 | debug: true,
|
15 | transform: [],
|
16 | extensions: [ '.js' ]
|
17 | },
|
18 | exclude: [ './test/karma.conf.js' ],
|
19 | reporters: [ 'progress' ],
|
20 | port: 9876,
|
21 | colors: true,
|
22 | logLevel: config.LOG_WARN,
|
23 | autoWatch: false,
|
24 | browsers: [ 'ChromeHeadless' ],
|
25 | singleRun: true,
|
26 | concurrency: 2,
|
27 | retryLimit: 2,
|
28 | captureTimeout: 5 * 60 * 1000,
|
29 | browserNoActivityTimeout: 5 * 60 * 1000
|
30 | });
|
31 | };
|