forked from openplayerjs/openplayerjs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathkarma.conf.js
39 lines (39 loc) · 1.04 KB
/
karma.conf.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
module.exports = config => {
config.set({
basePath: '',
browserNoActivityTimeout: 20000,
frameworks: ['mocha', 'chai'],
files: [
'./dist/openplayer.*',
'./test/*.js',
],
customContextFile: 'test/context.html',
// reporters: ['mocha', 'coverage'],
reporters: ['mocha'],
port: 9876,
colors: true,
logLevel: config.LOG_INFO,
proxies: {
'/dist/': '/base/dist/',
'/test/': '/base/test/',
},
// preprocessors: {
// 'dist/om_player.js': 'coverage',
// },
autoWatch: false,
// coverageReporter: {
// dir: 'coverage',
// reporters: [
// {
// type: 'html',
// subdir: 'report-html'
// },
// {
// type: 'lcov',
// subdir: 'report-lcov'
// }
// ]
// },
concurrency: Infinity
});
};