Skip to content

Commit d4308ec

Browse files
chiaweileesorrycc
authored andcommitted
docs: umi test (umijs#2369)
* docs: more opt * docs: more opt
1 parent 472bc6a commit d4308ec

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

docs/guide/getting-started.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,9 @@ $ umi test
172172

173173
Options:
174174

175-
--coverage indicates that test coverage information should be collected and reported in the output
175+
--coverage indicates that test coverage information should be collected and reported in the output
176+
--collectCoverageFrom=<glob> a glob pattern relative to matching the files that coverage info needs to be collected from, e.g, --collectCoverageFrom=src/**/*.js
177+
--detectLeaks debug memory leaks
176178
```
177179

178180
### Inspect

docs/zh/guide/getting-started.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,9 @@ $ umi test
184184

185185
Options:
186186

187-
--coverage indicates that test coverage information should be collected and reported in the output
187+
--coverage indicates that test coverage information should be collected and reported in the output
188+
--collectCoverageFrom=<glob> a glob pattern relative to matching the files that coverage info needs to be collected from, e.g, --collectCoverageFrom=src/**/*.js
189+
--detectLeaks debug memory leaks
188190
```
189191

190192
### 配置检查

0 commit comments

Comments
 (0)