-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathmcr.config.mcr.js
57 lines (44 loc) · 1.04 KB
/
mcr.config.mcr.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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
module.exports = {
// logging: 'debug',
name: 'My MCR Coverage Report',
outputDir: 'docs/mcr',
reports: [
'v8',
'v8-json',
'console-summary',
'codecov',
['markdown-summary', {
// color: 'html'
}],
['markdown-details', {
// color: 'Tex',
maxCols: 50,
baseUrl: 'https://cenfun.github.io/monocart-coverage-reports/mcr/#page=',
metrics: ['bytes', 'lines']
}]
],
assetsPath: '../assets',
lcov: true,
onStart: async (coverageReport) => {
},
entryFilter: {
'**/node_modules/**': false,
'**/lib/packages/**': false,
'**/lib/**': true
},
sourceFilter: {
'**/lib/packages/**': false,
'**/lib/**': true
},
all: {
dir: 'lib',
filter: {
// '**/monocart-*.js': false,
'**/*.html': false,
'**/*.ts': false,
'**/*': true
}
},
onEnd: async (coverageResults) => {
}
};