File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change 6
6
type CoverageOptions = {
7
7
enabled? : boolean ;
8
8
provider? : ' istanbul' ;
9
+ include? : string [];
9
10
exclude? : string [];
10
11
reporters? : (keyof ReportOptions | ReportWithOptions )[];
11
12
reportsDirectory? : string ;
Original file line number Diff line number Diff line change 6
6
type CoverageOptions = {
7
7
enabled? : boolean ;
8
8
provider? : ' istanbul' ;
9
+ include? : string [];
9
10
exclude? : string [];
10
11
reporters? : (keyof ReportOptions | ReportWithOptions )[];
11
12
reportsDirectory? : string ;
@@ -98,7 +99,7 @@ import { PackageManagerTabs } from '@theme';
98
99
99
100
对匹配 glob 规则的文件进行测试覆盖率收集。
100
101
101
- 默认情况下,rstest 会收集已测试文件的覆盖率。如果你希望在覆盖率报告中包含未测试的文件,可以使用 ` include ` 选项指定要包含的文件或模式。
102
+ 默认情况下,Rstest 会收集已测试文件的覆盖率。如果你希望在覆盖率报告中包含未测试的文件,可以使用 ` include ` 选项指定要包含的文件或模式。
102
103
103
104
``` ts title='rstest.config.ts'
104
105
import { defineConfig } from ' @rstest/core' ;
You can’t perform that action at this time.
0 commit comments